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