Exception: Qiwi::InvalidRequestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/qiwi/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ InvalidRequestError

Returns a new instance of InvalidRequestError.

Parameters:

  • errors (ActiveModel::Errors)


86
87
88
# File 'lib/qiwi/client.rb', line 86

def initialize(errors)
  super(errors.full_messages.join("\n"))
end