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
2032
|
# File 'lib/carddb/collection.rb', line 2032
def api_application_id = data['apiApplicationId']
|
#created_at ⇒ Object
2042
|
# File 'lib/carddb/collection.rb', line 2042
def created_at = parse_time(data['createdAt'])
|
#deck_id ⇒ Object
2034
|
# File 'lib/carddb/collection.rb', line 2034
def deck_id = data['deckId']
|
#expires_at ⇒ Object
2039
|
# File 'lib/carddb/collection.rb', line 2039
def expires_at = parse_time(data['expiresAt'])
|
#external_subject ⇒ Object
2036
|
# File 'lib/carddb/collection.rb', line 2036
def external_subject = data['externalSubject']
|
#game_id ⇒ Object
2035
|
# File 'lib/carddb/collection.rb', line 2035
def game_id = data['gameId']
|
#id ⇒ Object
2031
|
# File 'lib/carddb/collection.rb', line 2031
def id = data['id']
|
#issuer_id ⇒ Object
2033
|
# File 'lib/carddb/collection.rb', line 2033
def issuer_id = data['issuerId']
|
#last_used_at ⇒ Object
2041
|
# File 'lib/carddb/collection.rb', line 2041
def last_used_at = parse_time(data['lastUsedAt'])
|
#representation ⇒ Object
2038
|
# File 'lib/carddb/collection.rb', line 2038
def representation = data['representation']
|
#revoked_at ⇒ Object
2040
|
# File 'lib/carddb/collection.rb', line 2040
def revoked_at = parse_time(data['revokedAt'])
|
#scopes ⇒ Object
2037
|
# File 'lib/carddb/collection.rb', line 2037
def scopes = data['scopes'] || []
|
#updated_at ⇒ Object
2043
|
# File 'lib/carddb/collection.rb', line 2043
def updated_at = parse_time(data['updatedAt'])
|