Class: OandaAPI::Resource::Transaction::TradeOpened

Inherits:
OandaAPI::ResourceBase show all
Defined in:
lib/oanda_api/resource/transaction.rb

Overview

Instance Attribute Summary collapse

Attributes inherited from OandaAPI::ResourceBase

#location

Method Summary

Methods inherited from OandaAPI::ResourceBase

#initialize, #to_json

Constructor Details

This class inherits a constructor from OandaAPI::ResourceBase

Instance Attribute Details

#idObject

Returns the value of attribute id


58
59
60
# File 'lib/oanda_api/resource/transaction.rb', line 58

def id
  @id
end

#unitsObject

Returns the value of attribute units


58
59
60
# File 'lib/oanda_api/resource/transaction.rb', line 58

def units
  @units
end