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
2070
|
# File 'lib/carddb/collection.rb', line 2070
def account_id = data['accountId']
|
#api_application_id ⇒ Object
2071
|
# File 'lib/carddb/collection.rb', line 2071
def api_application_id = data['apiApplicationId']
|
#created_at ⇒ Object
2079
|
# File 'lib/carddb/collection.rb', line 2079
def created_at = parse_time(data['createdAt'])
|
#environment ⇒ Object
2073
|
# File 'lib/carddb/collection.rb', line 2073
def environment = data['environment']
|
#expires_at ⇒ Object
2076
|
# File 'lib/carddb/collection.rb', line 2076
def expires_at = parse_time(data['expiresAt'])
|
#external_subject ⇒ Object
2074
|
# File 'lib/carddb/collection.rb', line 2074
def external_subject = data['externalSubject']
|
#game_id ⇒ Object
2072
|
# File 'lib/carddb/collection.rb', line 2072
def game_id = data['gameId']
|
#id ⇒ Object
2069
|
# File 'lib/carddb/collection.rb', line 2069
def id = data['id']
|
#last_used_at ⇒ Object
2078
|
# File 'lib/carddb/collection.rb', line 2078
def last_used_at = parse_time(data['lastUsedAt'])
|
#revoked_at ⇒ Object
2077
|
# File 'lib/carddb/collection.rb', line 2077
def revoked_at = parse_time(data['revokedAt'])
|
#scopes ⇒ Object
2075
|
# File 'lib/carddb/collection.rb', line 2075
def scopes = data['scopes'] || []
|
#updated_at ⇒ Object
2080
|
# File 'lib/carddb/collection.rb', line 2080
def updated_at = parse_time(data['updatedAt'])
|