Class: RightScaleAPI::Account::SubResource

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

Instance Attribute Summary collapse

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

#accountObject

Returns the value of attribute account.



83
84
85
# File 'lib/right-scale-api/account.rb', line 83

def 
  @account
end

Instance Method Details

#collection_uriObject



85
86
87
# File 'lib/right-scale-api/account.rb', line 85

def collection_uri
  "#{.path}/#{self.class.api_name.pluralize}"
end