Class: OandaAPI::Resource::Heartbeat

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

Overview

Heartbeat returned by the Streaming API. See the Oanda Developer Guide for information about Heartbeats.

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

#timeObject

Returns the value of attribute time


6
7
8
# File 'lib/oanda_api/resource/heartbeat.rb', line 6

def time
  @time
end