Exception: TpagaService::ClientError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/tpaga_service/swagger.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status, message) ⇒ ClientError

Returns a new instance of ClientError.



82
83
84
85
# File 'lib/tpaga_service/swagger.rb', line 82

def initialize(status, message)
  @status = status
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



80
81
82
# File 'lib/tpaga_service/swagger.rb', line 80

def message
  @message
end

#statusObject (readonly)

Returns the value of attribute status.



80
81
82
# File 'lib/tpaga_service/swagger.rb', line 80

def status
  @status
end