Sha256: 9d2249fd3457065bff0ce9094f39778f6ad3b286708d63c9d0ccfa2ac4ae3653

Contents?: true

Size: 439 Bytes

Versions: 25

Compression:

Stored size: 439 Bytes

Contents

module GoTransverseTractApi

  class Configuration

    attr_accessor :username
    attr_accessor :password

    attr_accessor :cache_enabled

    attr_accessor :tract_api_host

    #
    # initialize
    #
    def initialize
      @tract_api_host = "https://my.tractbilling.com"
    end

    #
    # tract_api_url
    #
    def tract_api_url
      "#{@tract_api_host}/t/s/r/#{GoTransverseTractApi::TARGET_API_VERSION}"
    end

  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.6.2 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.6.1 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.6.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.5.3 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.2.3 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.2.2 lib/gotransverse-tract-api/configuration.rb