Class: Reception::UnknownLibraryType

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
app/models/reception/unknown_library_type.rb

Overview

Returned when we don’t recognize the library type

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#library_typeObject

Returns the value of attribute library_type.



8
9
10
# File 'app/models/reception/unknown_library_type.rb', line 8

def library_type
  @library_type
end

#permittedObject

Returns the value of attribute permitted.



8
9
10
# File 'app/models/reception/unknown_library_type.rb', line 8

def permitted
  @permitted
end

Instance Method Details

#library_factory(_attributes) ⇒ Object



16
17
18
# File 'app/models/reception/unknown_library_type.rb', line 16

def library_factory(_attributes)
  self
end

#request_factory(_attributes) ⇒ Object



12
13
14
# File 'app/models/reception/unknown_library_type.rb', line 12

def request_factory(_attributes)
  self
end