Class: CloudControl::API::Account
- Defined in:
- lib/cloudcontrol/api/account.rb
Instance Attribute Summary
Attributes inherited from Core
Instance Method Summary collapse
Methods inherited from Core
#endpoint, #get, #get_simple, #initialize, #log, #org_endpoint, #org_id, #perform, #post, #post_simple, #query_params, #request_query_string, #request_simple_body, #request_xml_body, #simple_params, #single, #xml_params
Constructor Details
This class inherits a constructor from CloudControl::API::Core
Instance Method Details
#list(options = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/cloudcontrol/api/account.rb', line 8 def list( = {}) org_endpoint '/user/user' query_params get_simple end |
#myaccount ⇒ Object
3 4 5 6 |
# File 'lib/cloudcontrol/api/account.rb', line 3 def myaccount endpoint '/user/myUser' get_simple end |