Class: FlockOfChefs::FlockedApi
- Inherits:
-
Object
- Object
- FlockOfChefs::FlockedApi
- Includes:
- Celluloid
- Defined in:
- lib/flock_of_chefs/flocked_api.rb
Instance Attribute Summary collapse
-
#chef_app ⇒ Object
Returns the value of attribute chef_app.
-
#node ⇒ Object
Returns the value of attribute node.
Instance Method Summary collapse
Instance Attribute Details
#chef_app ⇒ Object
Returns the value of attribute chef_app.
4 5 6 |
# File 'lib/flock_of_chefs/flocked_api.rb', line 4 def chef_app @chef_app end |
#node ⇒ Object
Returns the value of attribute node.
5 6 7 |
# File 'lib/flock_of_chefs/flocked_api.rb', line 5 def node @node end |
Instance Method Details
#run_chef! ⇒ Object
7 8 9 |
# File 'lib/flock_of_chefs/flocked_api.rb', line 7 def run_chef! chef_app.run_chef_client end |