module Togglapper::ClientModule

Constants

TIMER_URL
URL

Attributes

client[RW]

Public Class Methods

new(api_token = ENV['TOGGL_API_TOKEN']) click to toggle source
# File lib/togglapper/client_module.rb, line 20
def initialize(api_token = ENV['TOGGL_API_TOKEN'])
  @client  = TogglV8::API.new(api_token)
end

Public Instance Methods

configure() { |self| ... } click to toggle source
# File lib/togglapper/client_module.rb, line 24
def configure
  yield self
end