Sha256: 95d8f190ae2bcf1e1c22e7fa934cddf1b9dacf7fa3ad99dcef104efa8fa6777a

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

# frozen_string_literal: true

require 'logger'

module TimeTree
  # TimeTree apis client configuration.
  class Configuration
    # @return [String] OAuthApp's access token
    attr_accessor :oauth_app_token

    # @return [String] CalendarApp's app id
    attr_accessor :calendar_app_application_id
    # @return [String] CalendarApp's private key content#
    # e.g. File.read('<YOUR_PATH_TO_PEM_FILE>')
    attr_accessor :calendar_app_private_key

    # @return [Logger]
    attr_accessor :logger

    def initialize
      @logger = Logger.new $stdout
      @logger.level = :warn
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
timetree-1.0.0 lib/timetree/configuration.rb