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
2346
2347
2348
|
# File 'lib/carddb/collection.rb', line 2346
def candidates
@candidates ||= (data['candidates'] || []).map { |candidate| DeckImportCandidate.new(candidate, client: client) }
end
|
#dataset_key ⇒ Object
2341
|
# File 'lib/carddb/collection.rb', line 2341
def dataset_key = data['datasetKey']
|
#identifier ⇒ Object
2342
|
# File 'lib/carddb/collection.rb', line 2342
def identifier = data['identifier']
|
#line_number ⇒ Object
2339
|
# File 'lib/carddb/collection.rb', line 2339
def line_number = data['lineNumber']
|
#quantity ⇒ Object
2343
|
# File 'lib/carddb/collection.rb', line 2343
def quantity = data['quantity']
|
#raw ⇒ Object
2340
|
# File 'lib/carddb/collection.rb', line 2340
def raw = data['raw']
|
#section ⇒ Object
2344
|
# File 'lib/carddb/collection.rb', line 2344
def section = data['section']
|