Class: Whisk::Provider

Inherits:
Object
  • Object
show all
Defined in:
lib/whisk/provider.rb,
lib/whisk/provider/bowl.rb,
lib/whisk/provider/ingredient.rb

Direct Known Subclasses

Bowl, Ingredient

Defined Under Namespace

Classes: Bowl, Ingredient

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource) ⇒ Provider

Returns a new instance of Provider.



25
26
27
# File 'lib/whisk/provider.rb', line 25

def initialize(resource)
  @resource = resource
end

Instance Attribute Details

#resourceObject (readonly)

Returns the value of attribute resource.



23
24
25
# File 'lib/whisk/provider.rb', line 23

def resource
  @resource
end

Instance Method Details

#action_nothingObject



29
30
31
# File 'lib/whisk/provider.rb', line 29

def action_nothing
  nil
end