Exception: TpagaService::ServerError
- Inherits:
-
StandardError
- Object
- StandardError
- TpagaService::ServerError
- Defined in:
- lib/tpaga_service/swagger.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, message) ⇒ ServerError
constructor
A new instance of ServerError.
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, ) @status = status @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
71 72 73 |
# File 'lib/tpaga_service/swagger.rb', line 71 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
71 72 73 |
# File 'lib/tpaga_service/swagger.rb', line 71 def status @status end |