Class: OandaAPI::Resource::Heartbeat
- Inherits:
-
OandaAPI::ResourceBase
- Object
- OandaAPI::ResourceBase
- OandaAPI::Resource::Heartbeat
- 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
-
#time ⇒ Object
Returns the value of attribute time.
Attributes inherited from OandaAPI::ResourceBase
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
#time ⇒ Object
Returns the value of attribute time.
6 7 8 |
# File 'lib/oanda_api/resource/heartbeat.rb', line 6 def time @time end |