Class: Bugscriber::Resources::BaseResource
- Inherits:
-
Object
- Object
- Bugscriber::Resources::BaseResource
- Defined in:
- lib/bugscriber/resources/base_resource.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ BaseResource
constructor
A new instance of BaseResource.
Constructor Details
#initialize(client) ⇒ BaseResource
Returns a new instance of BaseResource.
8 9 10 |
# File 'lib/bugscriber/resources/base_resource.rb', line 8 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
6 7 8 |
# File 'lib/bugscriber/resources/base_resource.rb', line 6 def client @client end |