Module: ManageIQClient

Included in:
Resource
Defined in:
app/models/manage_iq_client.rb,
app/models/manage_iq_client/base.rb,
app/models/manage_iq_client/host.rb,
app/models/manage_iq_client/zone.rb,
app/models/manage_iq_client/policy.rb,
app/models/manage_iq_client/server.rb,
app/models/manage_iq_client/cluster.rb,
app/models/manage_iq_client/service.rb,
app/models/manage_iq_client/provider.rb,
app/models/manage_iq_client/resource.rb,
app/models/manage_iq_client/template.rb,
app/models/manage_iq_client/datastore.rb,
app/models/manage_iq_client/resource_pool.rb,
app/models/manage_iq_client/policy_profile.rb,
app/models/manage_iq_client/service_catalog.rb,
app/models/manage_iq_client/virtual_machine.rb,
app/models/manage_iq_client/service_template.rb

Defined Under Namespace

Modules: Resource Classes: Base, Cluster, Datastore, Host, Policy, PolicyProfile, Provider, ResourcePool, Server, Service, ServiceCatalog, ServiceTemplate, Template, VirtualMachine, Zone

Class Method Summary collapse

Class Method Details

.credentials=(credentials) ⇒ Object



8
9
10
11
# File 'app/models/manage_iq_client.rb', line 8

def self.credentials=(credentials)
  ManageIQClient::Base.user = credentials[:user]
  ManageIQClient::Base.password = credentials[:password]
end