Class: BentoSearch::EdsEngine::Holding

Inherits:
Object
  • Object
show all
Defined in:
app/search_engines/bento_search/eds_engine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_numberObject (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

#locationObject (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