Class: Cheffish::CheffishServerAPI

Inherits:
Chef::HTTP
  • Object
show all
Defined in:
lib/cheffish/cheffish_server_api.rb

Overview

Just like ServerAPI, except it does not default the server URL or options

Instance Method Summary collapse

Constructor Details

#initialize(chef_server) ⇒ CheffishServerAPI

Returns a new instance of CheffishServerAPI.



11
12
13
# File 'lib/cheffish/cheffish_server_api.rb', line 11

def initialize(chef_server)
  super(chef_server[:chef_server_url], chef_server[:options] || {})
end