Exception: GmoPayment::Errors::RequestMissingItemError
- Inherits:
-
GmoPayment::Errors
- Object
- StandardError
- GmoPayment::Errors
- GmoPayment::Errors::RequestMissingItemError
- Defined in:
- lib/gmo_payment/errors.rb
Overview
Error of request body has missing items.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(called_method = nil, items = []) ⇒ RequestMissingItemError
constructor
A new instance of RequestMissingItemError.
Constructor Details
#initialize(called_method = nil, items = []) ⇒ RequestMissingItemError
Returns a new instance of RequestMissingItemError.
32 33 34 35 36 |
# File 'lib/gmo_payment/errors.rb', line 32 def initialize(called_method = nil, items = []) self.called_method = called_method self.items = items super(items.join(', ')) end |
Instance Attribute Details
#called_method ⇒ Object
28 29 30 |
# File 'lib/gmo_payment/errors.rb', line 28 def called_method @called_method end |
#items ⇒ Object
28 |
# File 'lib/gmo_payment/errors.rb', line 28 attr_accessor :called_method, :items |