#NEWLINE# def __init__( self , json = None , auth = None ) : #NEWLINE# #INDENT# '\n\t\tWraps all the informaiton for managing contacts.\n\t\t' #NEWLINE# self . json = json #NEWLINE# self . auth = auth #NEWLINE# if json : #NEWLINE# #INDENT# log . debug ( 'translating contact information into local variables.' ) #NEWLINE# self . contactId = json [ 'Id' ] #NEWLINE# self . name = json [ 'DisplayName' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# log . debug ( 'there was no json, putting in some dumby info.' ) #NEWLINE# self . json = { #NEWLINE# #INDENT# 'DisplayName' : 'Jebediah Kerman' , #NEWLINE# #UNINDENT# }