Class: OandaAPI::Resource::Transaction::TradeReduced
- Inherits:
-
OandaAPI::ResourceBase
- Object
- OandaAPI::ResourceBase
- OandaAPI::Resource::Transaction::TradeReduced
- 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.
-
#interest ⇒ Object
Returns the value of attribute interest.
-
#pl ⇒ Object
Returns the value of attribute pl.
-
#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.
62 63 64 |
# File 'lib/oanda_api/resource/transaction.rb', line 62 def id @id end |
#interest ⇒ Object
Returns the value of attribute interest.
62 63 64 |
# File 'lib/oanda_api/resource/transaction.rb', line 62 def interest @interest end |
#pl ⇒ Object
Returns the value of attribute pl.
62 63 64 |
# File 'lib/oanda_api/resource/transaction.rb', line 62 def pl @pl end |
#units ⇒ Object
Returns the value of attribute units.
62 63 64 |
# File 'lib/oanda_api/resource/transaction.rb', line 62 def units @units end |