Class: CurrencyConversion::Resource
- Inherits:
-
Object
- Object
- CurrencyConversion::Resource
- Defined in:
- lib/currency-conversion/resource.rb
Overview
Resource
Direct Known Subclasses
Instance Attribute Summary collapse
-
#client ⇒ Currency::Conversion::Client
readonly
Gets the Client instance.
Instance Method Summary collapse
-
#initialize(client) ⇒ Currency::Conversion::Resource
constructor
Initialize a new resource.
Constructor Details
#initialize(client) ⇒ Currency::Conversion::Resource
Initialize a new resource
14 15 16 |
# File 'lib/currency-conversion/resource.rb', line 14 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Currency::Conversion::Client (readonly)
Returns Gets the Client instance.
7 8 9 |
# File 'lib/currency-conversion/resource.rb', line 7 def client @client end |