lib/alma/bib_holding.rb in alma-0.4.2 vs lib/alma/bib_holding.rb in alma-0.5.0

- old
+ new

@@ -5,10 +5,10 @@ extend Alma::ApiDefaults extend Forwardable def self.find(mms_id:, holding_id:) url = "#{bibs_base_path}/#{mms_id}/holdings/#{holding_id}" - response = HTTParty.get(url, headers:, timeout:) + response = Net.get(url, headers:, timeout:) new(response) end attr_reader :holding def_delegators :holding, :[], :[]=, :has_key?, :keys, :to_json, :each