Sha256: d890aee345063f4857a7c38ae147238c9b5baef8bcf6d53b267edd58941f9174

Contents?: true

Size: 303 Bytes

Versions: 8

Compression:

Stored size: 303 Bytes

Contents

class FakeRequest
  def initialize(
    remote_ip: "23.12.54.111",
    user_agent: "I am not a bot",
    headers: {}
  )
    self.remote_ip = remote_ip
    self.user_agent = user_agent
    self.headers = headers
  end

  attr_accessor :remote_ip
  attr_accessor :user_agent
  attr_accessor :headers
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tiddle-1.5.0 spec/support/fake_request.rb
tiddle-1.4.0 spec/support/fake_request.rb
tiddle-1.3.0 spec/support/fake_request.rb
tiddle-1.2.0 spec/support/fake_request.rb
tiddle-1.1.0 spec/support/fake_request.rb
tiddle-1.0.2 spec/support/fake_request.rb
tiddle-1.0.1 spec/support/fake_request.rb
tiddle-1.0.0 spec/support/fake_request.rb