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
2052
|
# File 'lib/carddb/collection.rb', line 2052
def api_application_id = data['apiApplicationId']
|
#created_at ⇒ Object
2062
|
# File 'lib/carddb/collection.rb', line 2062
def created_at = parse_time(data['createdAt'])
|
#deck_id ⇒ Object
2054
|
# File 'lib/carddb/collection.rb', line 2054
def deck_id = data['deckId']
|
#expires_at ⇒ Object
2059
|
# File 'lib/carddb/collection.rb', line 2059
def expires_at = parse_time(data['expiresAt'])
|
#external_subject ⇒ Object
2056
|
# File 'lib/carddb/collection.rb', line 2056
def external_subject = data['externalSubject']
|
#game_id ⇒ Object
2055
|
# File 'lib/carddb/collection.rb', line 2055
def game_id = data['gameId']
|
#id ⇒ Object
2051
|
# File 'lib/carddb/collection.rb', line 2051
def id = data['id']
|
#issuer_id ⇒ Object
2053
|
# File 'lib/carddb/collection.rb', line 2053
def issuer_id = data['issuerId']
|
#last_used_at ⇒ Object
2061
|
# File 'lib/carddb/collection.rb', line 2061
def last_used_at = parse_time(data['lastUsedAt'])
|
#representation ⇒ Object
2058
|
# File 'lib/carddb/collection.rb', line 2058
def representation = data['representation']
|
#revoked_at ⇒ Object
2060
|
# File 'lib/carddb/collection.rb', line 2060
def revoked_at = parse_time(data['revokedAt'])
|
#scopes ⇒ Object
2057
|
# File 'lib/carddb/collection.rb', line 2057
def scopes = data['scopes'] || []
|
#updated_at ⇒ Object
2063
|
# File 'lib/carddb/collection.rb', line 2063
def updated_at = parse_time(data['updatedAt'])
|