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
1253
|
# File 'lib/carddb/collection.rb', line 1253
def active? = !!data['isActive']
|
#created_at ⇒ Object
1255
|
# File 'lib/carddb/collection.rb', line 1255
def created_at = parse_time(data['createdAt'])
|
#description ⇒ Object
1251
|
# File 'lib/carddb/collection.rb', line 1251
def description = data['description']
|
#id ⇒ Object
1248
|
# File 'lib/carddb/collection.rb', line 1248
def id = data['id']
|
#key ⇒ Object
1249
|
# File 'lib/carddb/collection.rb', line 1249
def key = data['key']
|
1254
|
# File 'lib/carddb/collection.rb', line 1254
def metadata = data['metadata'] || {}
|
#name ⇒ Object
1250
|
# File 'lib/carddb/collection.rb', line 1250
def name = data['name']
|
#sort_order ⇒ Object
1252
|
# File 'lib/carddb/collection.rb', line 1252
def sort_order = data['sortOrder']
|
#updated_at ⇒ Object
1256
|
# File 'lib/carddb/collection.rb', line 1256
def updated_at = parse_time(data['updatedAt'])
|