class Restspec::Schema::Checker::NoObjectError

Attributes

object[RW]

Public Class Methods

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

Public Instance Methods

to_s() click to toggle source
# File lib/restspec/schema/checker.rb, line 159
def to_s
  "The object #{truncate object.to_s, escape: false}:#{object.class} is not a hash. It doesn't have attributes to be checked"
end