Class: BentoSearch::EdsEngine::Holding
- Inherits:
-
Object
- Object
- BentoSearch::EdsEngine::Holding
- Defined in:
- app/search_engines/bento_search/eds_engine.rb
Instance Attribute Summary collapse
-
#call_number ⇒ Object
readonly
Returns the value of attribute call_number.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(args) ⇒ Holding
constructor
A new instance of Holding.
Constructor Details
#initialize(args) ⇒ Holding
Returns a new instance of Holding.
676 677 678 679 |
# File 'app/search_engines/bento_search/eds_engine.rb', line 676 def initialize(args) @location = args[:location] @call_number = args[:call_number] end |
Instance Attribute Details
#call_number ⇒ Object (readonly)
Returns the value of attribute call_number.
675 676 677 |
# File 'app/search_engines/bento_search/eds_engine.rb', line 675 def call_number @call_number end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
675 676 677 |
# File 'app/search_engines/bento_search/eds_engine.rb', line 675 def location @location end |