Sha256: 6f2a38f007fcd999214a24d885dc834032a51a44eb5e2e7c04e6162027629349

Contents?: true

Size: 371 Bytes

Versions: 5

Compression:

Stored size: 371 Bytes

Contents

require 'transifex/version'
require 'transifex/response/raise_http_exception'

module Transifex
  module Config
    BASE_URL = ENV['TRANSIFEX_BASE_URL'] || 'https://www.transifex.com'
    USER_AGENT = "transifex-ruby #{Transifex::VERSION}"
    VALID_OPTIONS = [:username, :password]

    attr_accessor *VALID_OPTIONS

    def configure
      yield self
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
transifex-ruby-0.1.0 lib/transifex/config.rb
transifex-ruby-0.0.6 lib/transifex/config.rb
transifex-ruby-0.0.5 lib/transifex/config.rb
transifex-ruby-0.0.4 lib/transifex/config.rb
transifex-ruby-fork-jg-0.1.0 lib/transifex/config.rb