Sha256: 9e9ecde2a282db7ad66d5d9dc01d39025eced5c95d9bc9aecb5ad57f59e79592

Contents?: true

Size: 312 Bytes

Versions: 5

Compression:

Stored size: 312 Bytes

Contents

require 'httpclient'
class Mona::Client < ::HTTPClient
  attr_reader :last_accessed_at
  def initialize(args = {})
    agent_name = args.delete(:agent_name) || 'Monazilla'
    agent_name += "/#{Mona.version} (ruby-mona)"
    super(agent_name: agent_name)
    self.transparent_gzip_decompression = true
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mona-0.4.0 lib/mona/client.rb
mona-0.3.0 lib/mona/client.rb
mona-0.2.1 lib/mona/client.rb
mona-0.2.0 lib/mona/client.rb
mona-0.1.0 lib/mona/client.rb