Class: CardDB::DeckSessionToken
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
#account_id ⇒ Object
1809
|
# File 'lib/carddb/collection.rb', line 1809
def account_id = data['accountId']
|
#api_application_id ⇒ Object
1810
|
# File 'lib/carddb/collection.rb', line 1810
def api_application_id = data['apiApplicationId']
|
#created_at ⇒ Object
1818
|
# File 'lib/carddb/collection.rb', line 1818
def created_at = parse_time(data['createdAt'])
|
#environment ⇒ Object
1812
|
# File 'lib/carddb/collection.rb', line 1812
def environment = data['environment']
|
#expires_at ⇒ Object
1815
|
# File 'lib/carddb/collection.rb', line 1815
def expires_at = parse_time(data['expiresAt'])
|
#external_subject ⇒ Object
1813
|
# File 'lib/carddb/collection.rb', line 1813
def external_subject = data['externalSubject']
|
#game_id ⇒ Object
1811
|
# File 'lib/carddb/collection.rb', line 1811
def game_id = data['gameId']
|
#id ⇒ Object
1808
|
# File 'lib/carddb/collection.rb', line 1808
def id = data['id']
|
#last_used_at ⇒ Object
1817
|
# File 'lib/carddb/collection.rb', line 1817
def last_used_at = parse_time(data['lastUsedAt'])
|
#revoked_at ⇒ Object
1816
|
# File 'lib/carddb/collection.rb', line 1816
def revoked_at = parse_time(data['revokedAt'])
|
#scopes ⇒ Object
1814
|
# File 'lib/carddb/collection.rb', line 1814
def scopes = data['scopes'] || []
|
#updated_at ⇒ Object
1819
|
# File 'lib/carddb/collection.rb', line 1819
def updated_at = parse_time(data['updatedAt'])
|