Class: OandaAPI::Resource::Transaction::TradeOpened
- Inherits:
-
OandaAPI::ResourceBase
- Object
- OandaAPI::ResourceBase
- OandaAPI::Resource::Transaction::TradeOpened
- Defined in:
- lib/oanda_api/resource/transaction.rb
Overview
See http://developer.oanda.com/rest-live/transaction-history/ for attribute details.
Constant Summary
Constants inherited from OandaAPI::ResourceBase
OandaAPI::ResourceBase::NOT_PLURALIZED
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#units ⇒ Object
Returns the value of attribute units.
Attributes inherited from OandaAPI::ResourceBase
Method Summary
Methods inherited from OandaAPI::ResourceBase
class_from_symbol, #initialize, labs_resource?, pluralize, #to_json
Constructor Details
This class inherits a constructor from OandaAPI::ResourceBase
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
57 58 59 |
# File 'lib/oanda_api/resource/transaction.rb', line 57 def id @id end |
#units ⇒ Object
Returns the value of attribute units.
57 58 59 |
# File 'lib/oanda_api/resource/transaction.rb', line 57 def units @units end |