Class: Gossamer::Resource
- Inherits:
-
Object
- Object
- Gossamer::Resource
- Includes:
- ParamsProcessor
- Defined in:
- lib/gossamer/resource.rb
Instance Attribute Summary collapse
-
#broker ⇒ Object
Returns the value of attribute broker.
-
#path ⇒ Object
Returns the value of attribute path.
-
#update_frequency ⇒ Object
Returns the value of attribute update_frequency.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Resource
constructor
A new instance of Resource.
Methods included from ParamsProcessor
Constructor Details
#initialize(params = {}) ⇒ Resource
Returns a new instance of Resource.
13 14 15 |
# File 'lib/gossamer/resource.rb', line 13 def initialize(params={}) process_params(params) end |
Instance Attribute Details
#broker ⇒ Object
Returns the value of attribute broker.
10 11 12 |
# File 'lib/gossamer/resource.rb', line 10 def broker @broker end |
#path ⇒ Object
Returns the value of attribute path.
9 10 11 |
# File 'lib/gossamer/resource.rb', line 9 def path @path end |
#update_frequency ⇒ Object
Returns the value of attribute update_frequency.
11 12 13 |
# File 'lib/gossamer/resource.rb', line 11 def update_frequency @update_frequency end |