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
1190
|
# File 'lib/carddb/collection.rb', line 1190
def active? = !!data['isActive']
|
#created_at ⇒ Object
1192
|
# File 'lib/carddb/collection.rb', line 1192
def created_at = parse_time(data['createdAt'])
|
#description ⇒ Object
1188
|
# File 'lib/carddb/collection.rb', line 1188
def description = data['description']
|
#id ⇒ Object
1185
|
# File 'lib/carddb/collection.rb', line 1185
def id = data['id']
|
#key ⇒ Object
1186
|
# File 'lib/carddb/collection.rb', line 1186
def key = data['key']
|
1191
|
# File 'lib/carddb/collection.rb', line 1191
def metadata = data['metadata'] || {}
|
#name ⇒ Object
1187
|
# File 'lib/carddb/collection.rb', line 1187
def name = data['name']
|
#sort_order ⇒ Object
1189
|
# File 'lib/carddb/collection.rb', line 1189
def sort_order = data['sortOrder']
|
#updated_at ⇒ Object
1193
|
# File 'lib/carddb/collection.rb', line 1193
def updated_at = parse_time(data['updatedAt'])
|