Class: RightScaleAPI::Account::SubResource

Inherits:
Base
  • Object
show all
Defined in:
lib/right-scale-api/account.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#href, #id

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

#accountObject

Returns the value of attribute account.



42
43
44
# File 'lib/right-scale-api/account.rb', line 42

def 
  @account
end

Instance Method Details

#collection_uriObject



44
45
46
# File 'lib/right-scale-api/account.rb', line 44

def collection_uri
  .path + "/" + self.class.api_name.pluralize
end