Class: FlockOfChefs::FlockedApi

Inherits:
Object
  • Object
show all
Includes:
Celluloid
Defined in:
lib/flock_of_chefs/flocked_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#chef_appObject

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

#nodeObject

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