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
2005
2006
2007
|
# File 'lib/carddb/collection.rb', line 2005
def candidates
@candidates ||= (data['candidates'] || []).map { |candidate| DeckImportCandidate.new(candidate, client: client) }
end
|
#dataset_key ⇒ Object
2000
|
# File 'lib/carddb/collection.rb', line 2000
def dataset_key = data['datasetKey']
|
#identifier ⇒ Object
2001
|
# File 'lib/carddb/collection.rb', line 2001
def identifier = data['identifier']
|
#line_number ⇒ Object
1998
|
# File 'lib/carddb/collection.rb', line 1998
def line_number = data['lineNumber']
|
#quantity ⇒ Object
2002
|
# File 'lib/carddb/collection.rb', line 2002
def quantity = data['quantity']
|
#raw ⇒ Object
1999
|
# File 'lib/carddb/collection.rb', line 1999
def raw = data['raw']
|
#section ⇒ Object
2003
|
# File 'lib/carddb/collection.rb', line 2003
def section = data['section']
|