Sha256: 6dd5805806cb947e421484d121fa1159843e49be72c16a93f416c7c79bc2e712
Contents?: true
Size: 844 Bytes
Versions: 25
Compression:
Stored size: 844 Bytes
Contents
module Exlibris module Primo # # Common request attributes based on attr_readers. # module RequestAttributes def request_attributes @request_attributes ||= {:base_url => base_url, :institution => institution} end protected :request_attributes def user_request_attributes @user_request_attributes ||= request_attributes.merge :user_id => user_id end protected :user_request_attributes def record_request_attributes @record_request_attributes ||= request_attributes.merge :doc_id => record_id end protected :record_request_attributes def user_record_request_attributes @user_record_request_attributes ||= user_request_attributes.merge :doc_id => record_id end protected :user_record_request_attributes end end end
Version data entries
25 entries across 25 versions & 1 rubygems