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.



10
11
12
13
# File 'lib/arrest/exceptions.rb', line 10

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.



8
9
10
# File 'lib/arrest/exceptions.rb', line 8

def class_type
  @class_type
end

#idObject (readonly)

Returns the value of attribute id.



8
9
10
# File 'lib/arrest/exceptions.rb', line 8

def id
  @id
end