class LibLynxAPI::Account
Public Class Methods
new(client)
click to toggle source
# File lib/liblynx-api/client.rb, line 148 def initialize(client) @client = client end
Public Instance Methods
create(body = {})
click to toggle source
Create a new account.
@param body: the object to pass as the request payload
# File lib/liblynx-api/client.rb, line 155 def create(body = {}) @client.account.create(body) end
delete(account_identity)
click to toggle source
Delete an existing account.
@param account_identity:
# File lib/liblynx-api/client.rb, line 162 def delete(account_identity) @client.account.delete(account_identity) end
info(account_identity)
click to toggle source
Info for existing account.
@param account_identity:
# File lib/liblynx-api/client.rb, line 169 def info(account_identity) @client.account.info(account_identity) end
list(body = {})
click to toggle source
List existing accounts.
@param body: the object to pass as the request payload
# File lib/liblynx-api/client.rb, line 176 def list(body = {}) @client.account.list(body) end
update(account_identity, body = {})
click to toggle source
Update an existing account.
@param account_identity: @param body: the object to pass as the request payload
# File lib/liblynx-api/client.rb, line 184 def update(account_identity, body = {}) @client.account.update(account_identity, body) end