Class: Fog::Metering::OpenStack::Resource
- Inherits:
-
Fog::Model
- Object
- Fog::Model
- Fog::Metering::OpenStack::Resource
- Defined in:
- lib/fog/openstack/models/metering/resource.rb
Instance Attribute Summary
Attributes inherited from Fog::Model
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Resource
constructor
A new instance of Resource.
Methods inherited from Fog::Model
#inspect, #reload, #symbolize_keys, #to_json, #wait_for
Methods included from Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Core::DeprecatedConnectionAccessors
#connection, #connection=, #prepare_service_value
Methods included from Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #persisted?, #requires, #requires_one
Constructor Details
#initialize(attributes) ⇒ Resource
Returns a new instance of Resource.
15 16 17 18 |
# File 'lib/fog/openstack/models/metering/resource.rb', line 15 def initialize(attributes) prepare_service_value(attributes) super end |