Class: CardDB::DeckOwnershipTransferPayload

Inherits:
Resource
  • Object
show all
Defined in:
lib/carddb/collection.rb

Direct Known Subclasses

DeckCopyPayload

Instance Attribute Summary

Attributes inherited from Resource

#client, #data

Instance Method Summary collapse

Methods inherited from Resource

#[], #initialize, #key?, #to_h, #to_json

Constructor Details

This class inherits a constructor from CardDB::Resource

Instance Method Details

#deckObject



1131
1132
1133
# File 'lib/carddb/collection.rb', line 1131

def deck
  @deck ||= Deck.new(data['deck'], client: client)
end

#retained_app_access?Boolean

Returns:

  • (Boolean)


1135
# File 'lib/carddb/collection.rb', line 1135

def retained_app_access? = !!data['retainedAppAccess']