class Onsi::Params::RelationshipNotFound
Raised when a safe_fetch fails.
@note The ErrorResponder
will rescue from this and return an appropriate
error to the user
Attributes
key[R]
The key that the relationship wasn't found for
@return [String]
Public Class Methods
new(message, key)
click to toggle source
@private
Calls superclass method
# File lib/onsi/params.rb, line 36 def initialize(message, key) super(message) @key = key.to_s end