Class: ProxyAPI::ForemanChef::ChefProxy::Environment

Inherits:
Resource
  • Object
show all
Defined in:
app/lib/proxy_api/foreman_chef/chef_proxy.rb

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Environment

Returns a new instance of Environment.



21
22
23
24
# File 'app/lib/proxy_api/foreman_chef/chef_proxy.rb', line 21

def initialize(args)
  @url = "#{args[:url]}/#{PREFIX}/environments"
  super args
end