class OandaAPI::Resource::Price
Price
value object. See the Oanda Developer Guide for information about {developer.oanda.com/rest-live/rates/#getCurrentPrices Prices}.
Attributes
ask[RW]
bid[RW]
instrument[RW]
time[RW]
Public Instance Methods
time=(v)
click to toggle source
# File lib/oanda_api/resource/price.rb, line 11 def time=(v) @time = Time.parse v.to_s end