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
2230
|
# File 'lib/carddb/collection.rb', line 2230
def created? = !!data['created']
|
#deck ⇒ Object
2226
2227
2228
|
# File 'lib/carddb/collection.rb', line 2226
def deck
@deck ||= Deck.new(data['deck'], client: client)
end
|
#idempotent_replay? ⇒ Boolean
2231
|
# File 'lib/carddb/collection.rb', line 2231
def idempotent_replay? = !!data['idempotentReplay']
|