Class: Fugle::Intraday::Meta::Price Private
- Inherits:
-
Object
- Object
- Fugle::Intraday::Meta::Price
- Defined in:
- lib/fugle/intraday/meta.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #currency ⇒ Object readonly private
- #high_limit ⇒ Object readonly private
- #low_limit ⇒ Object readonly private
- #reference ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(data) ⇒ Price
constructor
private
A new instance of Price.
Constructor Details
#initialize(data) ⇒ Price
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Price.
63 64 65 66 67 68 |
# File 'lib/fugle/intraday/meta.rb', line 63 def initialize(data) @reference = data['priceReference'] @high_limit = data['priceHighLimit'] @low_limit = data['priceLowLimit'] @currency = data['currency'] end |
Instance Attribute Details
#currency ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
59 60 61 |
# File 'lib/fugle/intraday/meta.rb', line 59 def currency @currency end |
#high_limit ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
59 60 61 |
# File 'lib/fugle/intraday/meta.rb', line 59 def high_limit @high_limit end |
#low_limit ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
59 60 61 |
# File 'lib/fugle/intraday/meta.rb', line 59 def low_limit @low_limit end |
#reference ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
59 60 61 |
# File 'lib/fugle/intraday/meta.rb', line 59 def reference @reference end |