class GmoPayment::Errors::RequestInvalidItemError
Error of request body has invalid items.
Attributes
called_method[RW]
@!attribute [rw] called_method
@!attribute [rw] items
items[RW]
@!attribute [rw] called_method
@!attribute [rw] items
Public Class Methods
new(called_method = nil, items = {})
click to toggle source
@param [Symbol] called_method
@param [Hash] items
Calls superclass method
# File lib/gmo_payment/errors.rb, line 47 def initialize(called_method = nil, items = {}) self.called_method = called_method self.items = items super(items.map { |k, v| ":#{k} (#{v})" }.join(', ')) end