Class: Fog::Compute::OpenStack::Host
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::OpenStack::Host
- Defined in:
- lib/fog/openstack/models/compute/host.rb
Instance Method Summary collapse
- #details ⇒ Object
-
#initialize(attributes) ⇒ Host
constructor
A new instance of Host.
Constructor Details
#initialize(attributes) ⇒ Host
Returns a new instance of Host.
13 14 15 16 17 18 |
# File 'lib/fog/openstack/models/compute/host.rb', line 13 def initialize(attributes) attributes["service_name"] = attributes.delete "service" # Old 'connection' is renamed as service and should be used instead prepare_service_value(attributes) super end |