Class: Fog::Ecloud::Model
Direct Known Subclasses
Compute::Ecloud::BackupInternetService, Compute::Ecloud::CatalogItem, Compute::Ecloud::FirewallAcl, Compute::Ecloud::InternetService, Compute::Ecloud::Ip, Compute::Ecloud::Network, Compute::Ecloud::Node, Compute::Ecloud::PublicIp, Compute::Ecloud::Server, Compute::Ecloud::Task, Compute::Ecloud::Vdc
Instance Attribute Summary collapse
-
#loaded ⇒ Object
(also: #loaded?)
Returns the value of attribute loaded.
Attributes inherited from Model
Instance Method Summary collapse
Methods inherited from Model
#initialize, #inspect, #to_json, #wait_for
Methods included from Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #requires, #requires_one
Constructor Details
This class inherits a constructor from Fog::Model
Instance Attribute Details
#loaded ⇒ Object Also known as: loaded?
Returns the value of attribute loaded.
806 807 808 |
# File 'lib/fog/compute/ecloud.rb', line 806 def loaded @loaded end |
Instance Method Details
#load_unless_loaded! ⇒ Object
815 816 817 818 819 |
# File 'lib/fog/compute/ecloud.rb', line 815 def load_unless_loaded! unless @loaded reload end end |
#reload ⇒ Object
809 810 811 812 813 |
# File 'lib/fog/compute/ecloud.rb', line 809 def reload instance = super @loaded = true instance end |