Exception: GMO::Payment::APIError
- Defined in:
- lib/gmo/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(error_info = {}) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(error_info = {}) ⇒ APIError
Returns a new instance of APIError.
41 42 43 44 45 46 |
# File 'lib/gmo/errors.rb', line 41 def initialize(error_info = {}) self.error_info = error_info self.response_body = "ErrCode=#{error_info["ErrCode"]}&ErrInfo=#{error_info["ErrInfo"]}" = self.response_body super() end |