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
2279
2280
2281
|
# File 'lib/carddb/collection.rb', line 2279
def candidates
@candidates ||= (data['candidates'] || []).map { |candidate| DeckImportCandidate.new(candidate, client: client) }
end
|
#dataset_key ⇒ Object
2274
|
# File 'lib/carddb/collection.rb', line 2274
def dataset_key = data['datasetKey']
|
#identifier ⇒ Object
2275
|
# File 'lib/carddb/collection.rb', line 2275
def identifier = data['identifier']
|
#line_number ⇒ Object
2272
|
# File 'lib/carddb/collection.rb', line 2272
def line_number = data['lineNumber']
|
#quantity ⇒ Object
2276
|
# File 'lib/carddb/collection.rb', line 2276
def quantity = data['quantity']
|
#raw ⇒ Object
2273
|
# File 'lib/carddb/collection.rb', line 2273
def raw = data['raw']
|
#section ⇒ Object
2277
|
# File 'lib/carddb/collection.rb', line 2277
def section = data['section']
|