Class: CardDB::DeckUpsertByExternalRefPayload
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
#created? ⇒ Boolean
1416
|
# File 'lib/carddb/collection.rb', line 1416
def created? = !!data['created']
|
#deck ⇒ Object
1412
1413
1414
|
# File 'lib/carddb/collection.rb', line 1412
def deck
@deck ||= Deck.new(data['deck'], client: client)
end
|
#idempotent_replay? ⇒ Boolean
1417
|
# File 'lib/carddb/collection.rb', line 1417
def idempotent_replay? = !!data['idempotentReplay']
|