Sha256: be5d6715631f8f861415eecede166e66792e39b75126f45844bc3454bc693561
Contents?: true
Size: 637 Bytes
Versions: 25
Compression:
Stored size: 637 Bytes
Contents
module Exlibris module Primo module WebService module Client module Endpoint def self.included(klass) klass.class_eval do extend ClassAttributes end end module ClassAttributes def endpoint @endpoint ||= name.demodulize.downcase end attr_writer :endpoint protected :endpoint= end def endpoint @endpoint ||= "#{base_url}/PrimoWebServices/services/#{self.class.endpoint}" end protected :endpoint end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems