class Restspec::Schema::Checker::NoAttributeError

Attributes

attribute[RW]
object[RW]

Public Class Methods

new(object, attribute) click to toggle source
# File lib/restspec/schema/checker.rb, line 113
def initialize(object, attribute)
  self.object = object
  self.attribute = attribute
end

Public Instance Methods

to_s() click to toggle source
# File lib/restspec/schema/checker.rb, line 118
def to_s
  "The object #{object} does not have the attribute #{attribute.name}"
end