Class: CardDB::GameScanRegion
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
#active? ⇒ Boolean
1203
|
# File 'lib/carddb/collection.rb', line 1203
def active? = !!data['isActive']
|
#created_at ⇒ Object
1205
|
# File 'lib/carddb/collection.rb', line 1205
def created_at = parse_time(data['createdAt'])
|
#description ⇒ Object
1201
|
# File 'lib/carddb/collection.rb', line 1201
def description = data['description']
|
#id ⇒ Object
1198
|
# File 'lib/carddb/collection.rb', line 1198
def id = data['id']
|
#key ⇒ Object
1199
|
# File 'lib/carddb/collection.rb', line 1199
def key = data['key']
|
1204
|
# File 'lib/carddb/collection.rb', line 1204
def metadata = data['metadata'] || {}
|
#name ⇒ Object
1200
|
# File 'lib/carddb/collection.rb', line 1200
def name = data['name']
|
#sort_order ⇒ Object
1202
|
# File 'lib/carddb/collection.rb', line 1202
def sort_order = data['sortOrder']
|
#updated_at ⇒ Object
1206
|
# File 'lib/carddb/collection.rb', line 1206
def updated_at = parse_time(data['updatedAt'])
|