Class: Hyrax::Base

Inherits:
Object
  • Object
show all
Defined in:
app/models/hyrax/base.rb

Overview

Isolate calls to ActiveFedora::Base

Class Method Summary collapse

Class Method Details

.id_to_uri(id) ⇒ Object



14
15
16
# File 'app/models/hyrax/base.rb', line 14

def self.id_to_uri(id)
  ActiveFedora::Base.id_to_uri(id)
end

.uncached(&block) ⇒ Object



6
7
8
# File 'app/models/hyrax/base.rb', line 6

def self.uncached(&block)
  ActiveFedora::Base.uncached(&block)
end

.uri_to_id(uri) ⇒ Object



10
11
12
# File 'app/models/hyrax/base.rb', line 10

def self.uri_to_id(uri)
  ActiveFedora::Base.uri_to_id(uri)
end