class Brium::API

Defined in:

brium/api.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(access_token : String, host = nil, port = nil, ssl = true) #

[View source]
def self.new(session : OAuth2::Session, host : String | Nil = nil, port : Int32 | Nil = nil, ssl : Bool = true) #

[View source]

Class Method Detail

def self.handle(response : HTTP::Response, &) #

[View source]

Instance Method Detail

def clients(active = nil) #

[View source]
def entries(client = nil, project = nil, worker = nil, billable_status = nil, record = nil, since_date = nil, until_date = nil) #

[View source]
def entries_sum(client = nil, project = nil, worker = nil, billable_status = nil, record = nil, since_date = nil, until_date = nil) #

[View source]
def holidays(kind = nil, worker_id = nil, since_date = nil, until_date = nil) #

[View source]
def keywords #

[View source]
def mark_as_billed(client, since_date, until_date, project = nil, worker = nil, billable_status = nil, record = nil) #

[View source]
def workers(active = nil, admin = nil, suspended = nil) #

[View source]