Exception: CurrencyLayer::TimeframeException
- Inherits:
-
Exception
- Object
- Exception
- CurrencyLayer::TimeframeException
- Defined in:
- lib/currency_conversion/timeframe/timeframe_exception.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ TimeframeException
constructor
A new instance of TimeframeException.
Constructor Details
#initialize(error) ⇒ TimeframeException
Returns a new instance of TimeframeException.
7 8 9 |
# File 'lib/currency_conversion/timeframe/timeframe_exception.rb', line 7 def initialize(error) self.error = error end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
5 6 7 |
# File 'lib/currency_conversion/timeframe/timeframe_exception.rb', line 5 def error @error end |