class Onsi::Params::MissingReqiredAttribute

Raised when a required attribute has a nil value. `Params#require`

@note The ErrorResponder will rescue from this and return an appropriate

error to the user

Attributes

attribute[R]

The attribute that was missing when required.

@return [String]

Public Class Methods

new(message, attr) click to toggle source

@private

Calls superclass method
# File lib/onsi/params.rb, line 56
def initialize(message, attr)
  super(message)
  @attribute = attr.to_s
end