Exception: TpagaService::ServerError

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) ⇒ ServerError

Returns a new instance of ServerError.



73
74
75
76
# File 'lib/tpaga_service/swagger.rb', line 73

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

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



71
72
73
# File 'lib/tpaga_service/swagger.rb', line 71

def message
  @message
end

#statusObject (readonly)

Returns the value of attribute status.



71
72
73
# File 'lib/tpaga_service/swagger.rb', line 71

def status
  @status
end