Sha256: 75568f57e9bdb238752e083630af560699752f069371db9c123745616804aa64

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 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

1 entries across 1 versions & 1 rubygems

Version Path
correios-frete-alternative-1.10.2 lib/correios/frete.rb