Class: MoneyExchange::Client::Local

Inherits:
Object
  • Object
show all
Defined in:
lib/money_exchange/client/local.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



4
5
6
# File 'lib/money_exchange/client/local.rb', line 4

def data
  @data
end