Exception: Netscaler::Adapter::FailedRequest

Inherits:
StandardError
  • Object
show all
Defined in:
lib/netscaler/adapter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, payload, rest_client_exception = nil) ⇒ FailedRequest

Returns a new instance of FailedRequest.



13
14
15
16
17
# File 'lib/netscaler/adapter.rb', line 13

def initialize(message, payload, rest_client_exception=nil)
  super(message)
  @payload = payload
  @rest_client_exception = rest_client_exception
end

Instance Attribute Details

#payloadObject (readonly)

Returns the value of attribute payload.



11
12
13
# File 'lib/netscaler/adapter.rb', line 11

def payload
  @payload
end