Class: Tastytrade::Operations::BaseOperation
- Inherits:
-
Object
- Object
- Tastytrade::Operations::BaseOperation
- Defined in:
- lib/tastytrade/operations/base_operation.rb
Direct Known Subclasses
AccountTransactions::GetTotalFees, AccountTransactions::GetTransaction, AccountTransactions::ListTransactions, CustomerAccountInfo::GetAccount, CustomerAccountInfo::GetCustomer, CustomerAccountInfo::ListCustomerAccounts
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ BaseOperation
constructor
A new instance of BaseOperation.
Methods included from Util
Methods included from Error
Constructor Details
#initialize(client) ⇒ BaseOperation
Returns a new instance of BaseOperation.
12 13 14 |
# File 'lib/tastytrade/operations/base_operation.rb', line 12 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
10 11 12 |
# File 'lib/tastytrade/operations/base_operation.rb', line 10 def client @client end |