Exception: TpagaService::ClientError
- Inherits:
-
StandardError
- Object
- StandardError
- TpagaService::ClientError
- 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) ⇒ ClientError
constructor
A new instance of ClientError.
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, ) @status = status @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
80 81 82 |
# File 'lib/tpaga_service/swagger.rb', line 80 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
80 81 82 |
# File 'lib/tpaga_service/swagger.rb', line 80 def status @status end |