Class: RightScaleAPI::Account::SubResource
- Defined in:
- lib/right-scale-api/account.rb
Direct Known Subclasses
RightScaleAPI::AlertSpec, Deployment, Ec2EbsSnapshot, Ec2EbsVolume, Ec2ElasticIp, Ec2SecurityGroup, Ec2SshKey, Server, ServerTemplate, Status
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
api_name, attributes, create, #delete, #destroy, get, #get, #head, #initialize, #post, #put, #reload!, #send_request, #update, #uri
Constructor Details
This class inherits a constructor from RightScaleAPI::Base
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
42 43 44 |
# File 'lib/right-scale-api/account.rb', line 42 def account @account end |
Instance Method Details
#collection_uri ⇒ Object
44 45 46 |
# File 'lib/right-scale-api/account.rb', line 44 def collection_uri account.path + "/" + self.class.api_name.pluralize end |