Sha256: f20517cce20701acd860400e4b46eb35b7741a1f4370eba880628e02336868b8

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

# frozen_string_literal: true

require 'active_resource'

module Toggl
  class Workspace < ActiveResource::Base
    self.site = 'https://www.toggl.com/api/v8/'
    self.include_root_in_json = true
    self.include_format_in_path = false

    def self.user
      RenuoCliConfig.toggl_api_token
    end

    def self.password
      'api_token'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
renuo-cli-4.5.0 lib/renuo/cli/app/toggl/workspace.rb
renuo-cli-4.3.0 lib/renuo/cli/app/toggl/workspace.rb
renuo-cli-4.2.1 lib/renuo/cli/app/toggl/workspace.rb
renuo-cli-4.2.0 lib/renuo/cli/app/toggl/workspace.rb