Class: OaiEndpoint
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- OaiEndpoint
- Defined in:
- app/models/oai_endpoint.rb
Overview
Schema Information
Table name: oai_endpoints
id :integer(4) not null, primary key
uri :string(2083)
display_uri :string(2083)
metadata_prefix :string(255)
title :string(1000)
short_title :string(100)
Instance Method Summary collapse
Instance Method Details
#banned? ⇒ Boolean
27 28 29 |
# File 'app/models/oai_endpoint.rb', line 27 def banned? self.status == MuckRaker::Status::BANNED end |
#inform_admin ⇒ Object
35 36 37 |
# File 'app/models/oai_endpoint.rb', line 35 def inform_admin RakerMailer.deliver_notification_feed_added(self) end |