Sha256: 013a65afbac97d9a559e9ee551f3a00f389e75ec3c9cebb27906060ff3220118

Contents?: true

Size: 469 Bytes

Versions: 6

Compression:

Stored size: 469 Bytes

Contents

module GoTransverseTractApi

  class Configuration

    attr_accessor :username
    attr_accessor :password

    attr_accessor :cache_enabled
    attr_accessor :debug_mode

    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

6 entries across 6 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.7.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.6.7 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.6.6 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.6.5 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.6.4 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.6.3 lib/gotransverse-tract-api/configuration.rb