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