class RealPage::Error::BadRequest
Raised when a RealPage
request has an error node in the contents. This is generally the case when one of the parameters in a section other than the auth section is invalid.
Attributes
errors[R]
Public Class Methods
new(errors)
click to toggle source
@param errors [Object] object must respond to message
Calls superclass method
# File lib/real_page/error/bad_request.rb, line 12 def initialize(errors) super(errors.map(&:message).join('; ')) @errors = errors end