Sha256: f46cf3cf04488e0789c088214d30ca04713b35b8324c34d311b4c3bba701e531

Contents?: true

Size: 318 Bytes

Versions: 14

Compression:

Stored size: 318 Bytes

Contents

# encoding: UTF-8
require 'log-me'

module Correios
  module Frete
    extend LogMe

    module Timeout
      DEFAULT_REQUEST_TIMEOUT = 10 #seconds
      attr_writer :request_timeout

      def request_timeout
        (@request_timeout ||= DEFAULT_REQUEST_TIMEOUT).to_i
      end
    end

    extend Timeout
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
correios-frete-1.13.0 lib/correios/frete.rb
correios-frete-1.12.0 lib/correios/frete.rb
correios-frete-1.11.1 lib/correios/frete.rb
correios-frete-1.11.0 lib/correios/frete.rb
correios-frete-1.10.1 lib/correios/frete.rb
correios-frete-1.10.0 lib/correios/frete.rb
correios-frete-1.9.5 lib/correios/frete.rb
correios-frete-1.9.4 lib/correios/frete.rb
correios-frete-1.9.3 lib/correios/frete.rb
correios-frete-1.9.2 lib/correios/frete.rb
correios-frete-1.9.1 lib/correios/frete.rb
correios-frete-1.9.0 lib/correios/frete.rb
correios-frete-1.8.0 lib/correios/frete.rb
correios-frete-1.7.0 lib/correios/frete.rb