module ConfigStore::AccountAPIMethods

Public Instance Methods

create_account() click to toggle source
# File lib/configstore/apis/account_api_methods.rb, line 16
def create_account
        return with_response_handling do
                self.class.post("/accounts", @options)
        end
end
delete_account(account_uuid) click to toggle source
# File lib/configstore/apis/account_api_methods.rb, line 22
def delete_account(account_uuid)
        return with_response_handling do
                self.class.delete("/accounts/#{account_uuid}", @options)
        end
end
get_account(account_uuid) click to toggle source
# File lib/configstore/apis/account_api_methods.rb, line 10
def get_account(account_uuid)
        return with_response_handling do
                self.class.get("/accounts/#{account_uuid}", @options)
        end
end
list_accounts() click to toggle source
# File lib/configstore/apis/account_api_methods.rb, line 4
def list_accounts
        return with_response_handling do
                self.class.get("/accounts", @options)
        end
end