Exception: Arrest::Errors::SpecifiedDocumentNotFoundError

Inherits:
DocumentNotFoundError show all
Defined in:
lib/arrest/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, class_type = nil) ⇒ SpecifiedDocumentNotFoundError

Returns a new instance of SpecifiedDocumentNotFoundError.



17
18
19
20
# File 'lib/arrest/exceptions.rb', line 17

def initialize(id = nil, class_type = nil)
  @id = id
  @class_type = class_type
end

Instance Attribute Details

#class_typeObject (readonly)

Returns the value of attribute class_type.



15
16
17
# File 'lib/arrest/exceptions.rb', line 15

def class_type
  @class_type
end

#idObject (readonly)

Returns the value of attribute id.



15
16
17
# File 'lib/arrest/exceptions.rb', line 15

def id
  @id
end