Sha256: 0dfeb842b2c1cf5fca8ea3d67ea7cedc6ca1a360738ce6908e882d5d171f81ad

Contents?: true

Size: 306 Bytes

Versions: 2

Compression:

Stored size: 306 Bytes

Contents

# frozen_string_literal: true

class OpenUriAdapter < HTTPBaseAdapter
  def send_get_request
    open(parse_uri(true)) # rubocop:disable Security/Open
  end

  def expected_response_body
    ' (not available yet)'
  end

  def self.should_log_headers?
    false
  end

  def logs_data?
    false
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
httplog-1.3.1 spec/adapters/open_uri_adapter.rb
httplog-1.3.0 spec/adapters/open_uri_adapter.rb