module Knodes::Client::Customers

Public Instance Methods

customer() click to toggle source
# File lib/knodes/client/customers.rb, line 4
def customer
        response = get("customers", creds)
        end
customer_connect(options={}) click to toggle source
# File lib/knodes/client/customers.rb, line 8
def customer_connect(options={})
  response = post("customers/#{options[:customer_id]}/connect", options = options.merge(creds))
end
customer_disconnect(options={}) click to toggle source
# File lib/knodes/client/customers.rb, line 12
def customer_disconnect(options={})
  response = post("customers/#{options[:customer_id]}/disconnect", options = options.merge(creds))
end