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.

Constant Summary

Constants inherited from OandaAPI::ResourceBase

OandaAPI::ResourceBase::NOT_PLURALIZED

Instance Attribute Summary collapse

Attributes inherited from OandaAPI::ResourceBase

#location

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

#timeObject

Returns the value of attribute time.



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

def time
  @time
end