Class: Renoir::ConnectionAdapters::Reply::RedirectionError

Inherits:
Base
  • Object
show all
Defined in:
lib/renoir/connection_adapters/reply.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#cause

Instance Method Summary collapse

Constructor Details

#initialize(cause, ask, ip, port) ⇒ RedirectionError

Returns a new instance of RedirectionError.



16
17
18
19
20
21
# File 'lib/renoir/connection_adapters/reply.rb', line 16

def initialize(cause, ask, ip, port)
  super(cause)
  @ask = ask
  @ip = ip
  @port = port
end

Instance Attribute Details

#askObject (readonly)

Returns the value of attribute ask.



14
15
16
# File 'lib/renoir/connection_adapters/reply.rb', line 14

def ask
  @ask
end

#ipObject (readonly)

Returns the value of attribute ip.



14
15
16
# File 'lib/renoir/connection_adapters/reply.rb', line 14

def ip
  @ip
end

#portObject (readonly)

Returns the value of attribute port.



14
15
16
# File 'lib/renoir/connection_adapters/reply.rb', line 14

def port
  @port
end