Class: Whisk::Provider
- Inherits:
-
Object
- Object
- Whisk::Provider
- Defined in:
- lib/whisk/provider.rb,
lib/whisk/provider/bowl.rb,
lib/whisk/provider/ingredient.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Bowl, Ingredient
Instance Attribute Summary collapse
-
#resource ⇒ Object
readonly
Returns the value of attribute resource.
Instance Method Summary collapse
- #action_nothing ⇒ Object
-
#initialize(resource) ⇒ Provider
constructor
A new instance of Provider.
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
#resource ⇒ Object (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_nothing ⇒ Object
29 30 31 |
# File 'lib/whisk/provider.rb', line 29 def action_nothing nil end |