class OandaAPI::Resource::Heartbeat

Heartbeat returned by the Streaming API. See the Oanda Developer Guide for information about {developer.oanda.com/rest-live/streaming/ Heartbeats}.

Attributes

time[RW]

Public Instance Methods

time=(v) click to toggle source
# File lib/oanda_api/resource/heartbeat.rb, line 8
def time=(v)
  @time = Time.parse v.to_s
end