class Tandarb::User

Public Class Methods

new(token) click to toggle source
# File lib/tandarb/user.rb, line 3
def initialize(token)
  @token = token
end

Public Instance Methods

all() click to toggle source
# File lib/tandarb/user.rb, line 7
def all
  get('/users', @token)
end
create(body) click to toggle source
# File lib/tandarb/user.rb, line 11
def create(body)
  post('/users', body, @token)
end