class Restspec::Schema::Checker::InvalidationError
Attributes
attribute[RW]
object[RW]
value[RW]
Public Class Methods
new(object, attribute)
click to toggle source
# File lib/restspec/schema/checker.rb, line 126 def initialize(object, attribute) self.object = object self.attribute = attribute self.value = object.fetch(attribute.name) end
Public Instance Methods
to_s()
click to toggle source
# File lib/restspec/schema/checker.rb, line 132 def to_s "The property #{attribute.name} of #{object} was not valid according to the type #{attribute.type}" end