Class: CardDB::DeckImportAmbiguousEntry
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
#candidates ⇒ Object
1465
1466
1467
|
# File 'lib/carddb/collection.rb', line 1465
def candidates
@candidates ||= (data['candidates'] || []).map { |candidate| DeckImportCandidate.new(candidate, client: client) }
end
|
#dataset_key ⇒ Object
1460
|
# File 'lib/carddb/collection.rb', line 1460
def dataset_key = data['datasetKey']
|
#identifier ⇒ Object
1461
|
# File 'lib/carddb/collection.rb', line 1461
def identifier = data['identifier']
|
#line_number ⇒ Object
1458
|
# File 'lib/carddb/collection.rb', line 1458
def line_number = data['lineNumber']
|
#quantity ⇒ Object
1462
|
# File 'lib/carddb/collection.rb', line 1462
def quantity = data['quantity']
|
#raw ⇒ Object
1459
|
# File 'lib/carddb/collection.rb', line 1459
def raw = data['raw']
|
#section ⇒ Object
1463
|
# File 'lib/carddb/collection.rb', line 1463
def section = data['section']
|