Sha256: 0f5ca0ff937c9f9d941f2023faa4fd59b340db544dc5e1a41ce74d0dc8698cca

Contents?: true

Size: 346 Bytes

Versions: 9

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

require 'logger'

module TimeTree
  # TimeTree apis client configuration.
  class Configuration
    # @return [String]
    attr_accessor :token
    # @return [Logger]
    attr_accessor :logger

    def initialize
      logger = Logger.new(STDOUT)
      logger.level = :warn
      @logger = logger
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
timetree-0.2.0 lib/timetree/configuration.rb
timetree-0.1.7 lib/timetree/configuration.rb
timetree-0.1.6 lib/timetree/configuration.rb
timetree-0.1.5 lib/timetree/configuration.rb
timetree-0.1.4 lib/timetree/configuration.rb
timetree-0.1.3 lib/timetree/configuration.rb
timetree-0.1.2 lib/timetree/configuration.rb
timetree-0.1.1 lib/timetree/configuration.rb
timetree-0.1.0 lib/timetree/configuration.rb