Class: Gossamer::Resource

Inherits:
Object
  • Object
show all
Includes:
ParamsProcessor
Defined in:
lib/gossamer/resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ParamsProcessor

#process_params

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

#brokerObject

Returns the value of attribute broker.



10
11
12
# File 'lib/gossamer/resource.rb', line 10

def broker
  @broker
end

#pathObject

Returns the value of attribute path.



9
10
11
# File 'lib/gossamer/resource.rb', line 9

def path
  @path
end

#update_frequencyObject

Returns the value of attribute update_frequency.



11
12
13
# File 'lib/gossamer/resource.rb', line 11

def update_frequency
  @update_frequency
end