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
2266
2267
2268
|
# File 'lib/carddb/collection.rb', line 2266
def candidates
@candidates ||= (data['candidates'] || []).map { |candidate| DeckImportCandidate.new(candidate, client: client) }
end
|
#dataset_key ⇒ Object
2261
|
# File 'lib/carddb/collection.rb', line 2261
def dataset_key = data['datasetKey']
|
#identifier ⇒ Object
2262
|
# File 'lib/carddb/collection.rb', line 2262
def identifier = data['identifier']
|
#line_number ⇒ Object
2259
|
# File 'lib/carddb/collection.rb', line 2259
def line_number = data['lineNumber']
|
#quantity ⇒ Object
2263
|
# File 'lib/carddb/collection.rb', line 2263
def quantity = data['quantity']
|
#raw ⇒ Object
2260
|
# File 'lib/carddb/collection.rb', line 2260
def raw = data['raw']
|
#section ⇒ Object
2264
|
# File 'lib/carddb/collection.rb', line 2264
def section = data['section']
|