Class: MoneyExchange::Client::Local
- Inherits:
-
Object
- Object
- MoneyExchange::Client::Local
- Defined in:
- lib/money_exchange/client/local.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Local
constructor
A new instance of Local.
Constructor Details
#initialize(data) ⇒ Local
Returns a new instance of Local.
6 7 8 |
# File 'lib/money_exchange/client/local.rb', line 6 def initialize(data) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
4 5 6 |
# File 'lib/money_exchange/client/local.rb', line 4 def data @data end |