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
2083
|
# File 'lib/carddb/collection.rb', line 2083
def account_id = data['accountId']
|
#api_application_id ⇒ Object
2084
|
# File 'lib/carddb/collection.rb', line 2084
def api_application_id = data['apiApplicationId']
|
#created_at ⇒ Object
2092
|
# File 'lib/carddb/collection.rb', line 2092
def created_at = parse_time(data['createdAt'])
|
#environment ⇒ Object
2086
|
# File 'lib/carddb/collection.rb', line 2086
def environment = data['environment']
|
#expires_at ⇒ Object
2089
|
# File 'lib/carddb/collection.rb', line 2089
def expires_at = parse_time(data['expiresAt'])
|
#external_subject ⇒ Object
2087
|
# File 'lib/carddb/collection.rb', line 2087
def external_subject = data['externalSubject']
|
#game_id ⇒ Object
2085
|
# File 'lib/carddb/collection.rb', line 2085
def game_id = data['gameId']
|
#id ⇒ Object
2082
|
# File 'lib/carddb/collection.rb', line 2082
def id = data['id']
|
#last_used_at ⇒ Object
2091
|
# File 'lib/carddb/collection.rb', line 2091
def last_used_at = parse_time(data['lastUsedAt'])
|
#revoked_at ⇒ Object
2090
|
# File 'lib/carddb/collection.rb', line 2090
def revoked_at = parse_time(data['revokedAt'])
|
#scopes ⇒ Object
2088
|
# File 'lib/carddb/collection.rb', line 2088
def scopes = data['scopes'] || []
|
#updated_at ⇒ Object
2093
|
# File 'lib/carddb/collection.rb', line 2093
def updated_at = parse_time(data['updatedAt'])
|