Class: Qrfy::Resources::Base
- Inherits:
-
Object
- Object
- Qrfy::Resources::Base
- Defined in:
- lib/qrfy/resources/base.rb
Overview
# Base Qrfy Resource
Implements a structure for specific REST qrfy resources and encapsulate API calls implementation.
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(client) ⇒ Base
Returns a new instance of Base.
13 14 15 |
# File 'lib/qrfy/resources/base.rb', line 13 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
11 12 13 |
# File 'lib/qrfy/resources/base.rb', line 11 def client @client end |