Class: RightScaleAPI::Account::SubResource
- Defined in:
- lib/right-scale-api/account.rb
Direct Known Subclasses
RightScaleAPI::AlertSpec, Deployment, Ec2EbsSnapshot, Ec2EbsVolume, Ec2ElasticIp, Ec2SecurityGroup, Ec2SshKey, S3Bucket, Server, ServerTemplate, Status
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
Instance Method Summary collapse
Methods inherited from Base
api_name, attributes, create, #delete, #destroy, get, #get, #head, #initialize, #path, #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.
83 84 85 |
# File 'lib/right-scale-api/account.rb', line 83 def account @account end |
Instance Method Details
#collection_uri ⇒ Object
85 86 87 |
# File 'lib/right-scale-api/account.rb', line 85 def collection_uri "#{account.path}/#{self.class.api_name.pluralize}" end |