Class: Fog::Ecloud::Model
- Inherits:
-
Model
- Object
- Model
- Fog::Ecloud::Model
- Defined in:
- lib/fog/ecloud/model.rb
Direct Known Subclasses
Compute::Ecloud::AdminOrganization, Compute::Ecloud::ApiKey, Compute::Ecloud::Association, Compute::Ecloud::AuthenticationLevel, Compute::Ecloud::BackupInternetService, Compute::Ecloud::CatalogConfiguration, Compute::Ecloud::CatalogItem, Compute::Ecloud::ComputePool, Compute::Ecloud::CpuUsageDetail, Compute::Ecloud::DetachedDisk, Compute::Ecloud::Environment, Compute::Ecloud::FirewallAcl, Compute::Ecloud::Group, Compute::Ecloud::GuestProcess, Compute::Ecloud::HardwareConfiguration, Compute::Ecloud::InternetService, Compute::Ecloud::IpAddress, Compute::Ecloud::Layout, Compute::Ecloud::Location, Compute::Ecloud::LoginBanner, Compute::Ecloud::MemoryUsageDetail, Compute::Ecloud::Monitor, Compute::Ecloud::Network, Compute::Ecloud::Node, Compute::Ecloud::OperatingSystem, Compute::Ecloud::OperatingSystemFamily, Compute::Ecloud::Organization, Compute::Ecloud::PasswordComplexityRule, Compute::Ecloud::PhysicalDevice, Compute::Ecloud::PublicIp, Compute::Ecloud::Rnat, Compute::Ecloud::Role, Compute::Ecloud::Row, Compute::Ecloud::Server, Compute::Ecloud::ServerConfigurationOption, Compute::Ecloud::SshKey, Compute::Ecloud::StorageUsageDetail, Compute::Ecloud::SupportTicket, Compute::Ecloud::Tag, Compute::Ecloud::Task, Compute::Ecloud::Template, Compute::Ecloud::TrustedNetworkGroup, Compute::Ecloud::User, Compute::Ecloud::VirtualMachineAssignedIp
Instance Attribute Summary collapse
-
#loaded ⇒ Object
(also: #loaded?)
Returns the value of attribute loaded.
Instance Method Summary collapse
Instance Attribute Details
#loaded ⇒ Object Also known as: loaded?
Returns the value of attribute loaded.
4 5 6 |
# File 'lib/fog/ecloud/model.rb', line 4 def loaded @loaded end |
Instance Method Details
#load_unless_loaded! ⇒ Object
13 14 15 16 17 |
# File 'lib/fog/ecloud/model.rb', line 13 def load_unless_loaded! unless @loaded reload end end |
#reload ⇒ Object
7 8 9 10 11 |
# File 'lib/fog/ecloud/model.rb', line 7 def reload instance = super @loaded = true instance end |