Class: CardDB::DeckSectionValuation
Overview
Wrapper for one deck section's valuation and pricing coverage
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
#missing_entry_count ⇒ Object
2236
|
# File 'lib/carddb/collection.rb', line 2236
def missing_entry_count = data['missingEntryCount']
|
#missing_quantity ⇒ Object
2239
|
# File 'lib/carddb/collection.rb', line 2239
def missing_quantity = data['missingQuantity']
|
#priced_entry_count ⇒ Object
2235
|
# File 'lib/carddb/collection.rb', line 2235
def priced_entry_count = data['pricedEntryCount']
|
#priced_quantity ⇒ Object
2238
|
# File 'lib/carddb/collection.rb', line 2238
def priced_quantity = data['pricedQuantity']
|
#priced_subtotal ⇒ Object
2241
2242
2243
|
# File 'lib/carddb/collection.rb', line 2241
def priced_subtotal
@priced_subtotal ||= Money.new(data['pricedSubtotal'], client: client)
end
|
#section ⇒ Object
2232
|
# File 'lib/carddb/collection.rb', line 2232
def section = data['section']
|
#status ⇒ Object
2233
|
# File 'lib/carddb/collection.rb', line 2233
def status = data['status']
|
#total_entry_count ⇒ Object
2234
|
# File 'lib/carddb/collection.rb', line 2234
def total_entry_count = data['totalEntryCount']
|
#total_quantity ⇒ Object
2237
|
# File 'lib/carddb/collection.rb', line 2237
def total_quantity = data['totalQuantity']
|