class Sensit::Api::User

<no value>

Public Class Methods

new(client) click to toggle source
# File lib/sensit/api/user.rb, line 9
def initialize(client)
  @client = client
end

Public Instance Methods

profile(options = {}) click to toggle source

<no value> ‘/user’ GET

# File lib/sensit/api/user.rb, line 16
def profile(options = {})
  body = options.has_key?(:query) ? options[:query] : {}

  response = @client.get "/user", body, options

  return response
end