Class: CardDB::DeckToken
Instance Attribute Summary
Attributes inherited from Resource
#client, #data
Instance Method Summary
collapse
Methods inherited from Resource
#[], #initialize, #key?, #to_h, #to_json
Instance Method Details
#api_application_id ⇒ Object
1982
|
# File 'lib/carddb/collection.rb', line 1982
def api_application_id = data['apiApplicationId']
|
#created_at ⇒ Object
1992
|
# File 'lib/carddb/collection.rb', line 1992
def created_at = parse_time(data['createdAt'])
|
#deck_id ⇒ Object
1984
|
# File 'lib/carddb/collection.rb', line 1984
def deck_id = data['deckId']
|
#expires_at ⇒ Object
1989
|
# File 'lib/carddb/collection.rb', line 1989
def expires_at = parse_time(data['expiresAt'])
|
#external_subject ⇒ Object
1986
|
# File 'lib/carddb/collection.rb', line 1986
def external_subject = data['externalSubject']
|
#game_id ⇒ Object
1985
|
# File 'lib/carddb/collection.rb', line 1985
def game_id = data['gameId']
|
#id ⇒ Object
1981
|
# File 'lib/carddb/collection.rb', line 1981
def id = data['id']
|
#issuer_id ⇒ Object
1983
|
# File 'lib/carddb/collection.rb', line 1983
def issuer_id = data['issuerId']
|
#last_used_at ⇒ Object
1991
|
# File 'lib/carddb/collection.rb', line 1991
def last_used_at = parse_time(data['lastUsedAt'])
|
#representation ⇒ Object
1988
|
# File 'lib/carddb/collection.rb', line 1988
def representation = data['representation']
|
#revoked_at ⇒ Object
1990
|
# File 'lib/carddb/collection.rb', line 1990
def revoked_at = parse_time(data['revokedAt'])
|
#scopes ⇒ Object
1987
|
# File 'lib/carddb/collection.rb', line 1987
def scopes = data['scopes'] || []
|
#updated_at ⇒ Object
1993
|
# File 'lib/carddb/collection.rb', line 1993
def updated_at = parse_time(data['updatedAt'])
|