Sha256: 36402630ee52ae82ecf39d3a56c0445dd76bc592484be5ccc310e9f53fbd713c

Contents?: true

Size: 569 Bytes

Versions: 37

Compression:

Stored size: 569 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
    attr_accessor :tract_secured_payment_host

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

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

  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.24.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.23.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.22.1 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.22.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.21.1 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.21.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.20.3 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.20.2 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.20.1 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.20.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.19.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.18.3 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.18.2 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.18.1 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.18.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.17.2 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.17.1 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.17.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.16.0 lib/gotransverse-tract-api/configuration.rb
gotransverse-tract-api-0.15.0 lib/gotransverse-tract-api/configuration.rb