Class: Dcmgr::Models::AccountResource
- Defined in:
- lib/dcmgr/models/account_resource.rb
Overview
Base class for the model class which belongs to a specific account.
Direct Known Subclasses
HostNode, Image, Instance, InstanceSpec, Network, SecurityGroup, SshKeyPair, StorageNode, Tag, VlanLease, Volume, VolumeSnapshot
Constant Summary
Constants inherited from BaseNew
Instance Method Summary collapse
Methods inherited from BaseNew
Proxy, dataset, default_row_lock_mode=, install_data, install_data_hooks, lock!, #to_hash, unlock!, #with_timestamps?
Instance Method Details
#account ⇒ Object
7 8 9 |
# File 'lib/dcmgr/models/account_resource.rb', line 7 def account Account[self.account_id] end |