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