class Brium::API
- Brium::API
- Reference
- Object
Defined in:
brium/api.crConstructors
- .new(access_token : String, host = nil, port = nil, ssl = true)
- .new(session : OAuth2::Session, host : String | Nil = nil, port : Int32 | Nil = nil, ssl : Bool = true)
Class Method Summary
Instance Method Summary
- #clients(active = nil)
- #entries(client = nil, project = nil, worker = nil, billable_status = nil, record = nil, since_date = nil, until_date = nil)
- #entries_sum(client = nil, project = nil, worker = nil, billable_status = nil, record = nil, since_date = nil, until_date = nil)
- #holidays(kind = nil, worker_id = nil, since_date = nil, until_date = nil)
- #keywords
- #mark_as_billed(client, since_date, until_date, project = nil, worker = nil, billable_status = nil, record = nil)
- #workers(active = nil, admin = nil, suspended = nil)
Constructor Detail
def self.new(session : OAuth2::Session, host : String | Nil = nil, port : Int32 | Nil = nil, ssl : Bool = true)
#
Class Method Detail
Instance Method Detail
def entries(client = nil, project = nil, worker = nil, billable_status = nil, record = nil, since_date = nil, until_date = nil)
#
def entries_sum(client = nil, project = nil, worker = nil, billable_status = nil, record = nil, since_date = nil, until_date = nil)
#
def mark_as_billed(client, since_date, until_date, project = nil, worker = nil, billable_status = nil, record = nil)
#