Module: EnjuOai::ActsAsMethods::InstanceMethods
- Defined in:
- lib/enju_oai/oai_model.rb
Instance Method Summary collapse
Instance Method Details
#oai_identifier ⇒ Object
18 19 20 |
# File 'lib/enju_oai/oai_model.rb', line 18 def oai_identifier "oai:#{::Addressable::URI.parse(LibraryGroup.site_config.url).host}:#{self.class.to_s.tableize}-#{self.id}" end |