Class: ProxyAPI::ForemanChef::ChefProxy::Environment
- Inherits:
-
Resource
- Object
- Resource
- ProxyAPI::ForemanChef::ChefProxy::Environment
- Defined in:
- app/lib/proxy_api/foreman_chef/chef_proxy.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ Environment
constructor
A new instance of Environment.
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 |