Sha256: cf0791f277abd076c912ddfd3dee46266d2d5c4ad36d3216e1b922aec6f9cbb1

Contents?: true

Size: 558 Bytes

Versions: 2

Compression:

Stored size: 558 Bytes

Contents

module ConvertApi
  class Configuration
    attr_accessor :api_secret
    attr_accessor :base_uri
    attr_accessor :connect_timeout
    attr_accessor :read_timeout
    attr_accessor :conversion_timeout
    attr_accessor :conversion_timeout_delta
    attr_accessor :upload_timeout
    attr_accessor :download_timeout

    def initialize
      @base_uri = URI('https://v2.convertapi.com/')
      @connect_timeout = 5
      @read_timeout = 1800
      @conversion_timeout_delta = 10
      @upload_timeout = 1800
      @download_timeout = 1800
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
convert_api-1.4.0 lib/convert_api/configuration.rb
convert_api-1.3.2 lib/convert_api/configuration.rb