Method: ClientException#initialize

Defined in:
lib/client.rb

#initialize(msg, params = {}) ⇒ ClientException



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/client.rb', line 7

def initialize(msg, params={})
  @msg     = msg
  @scheme  = params[:http_scheme]
  @host    = params[:http_host]
  @port    = params[:http_port]
  @path    = params[:http_path]
  @query   = params[:http_query]
  @status  = params[:http_status]
  @reason  = params[:http_reason]
  @device  = params[:http_device]
end