Module: BlacklightOembed

Defined in:
lib/blacklight_oembed.rb,
lib/blacklight_oembed/engine.rb,
lib/blacklight_oembed/version.rb,
lib/blacklight_oembed/route_sets.rb

Overview

BlacklightOembed

Defined Under Namespace

Modules: ControllerExtension, RouteSets, Solr Classes: Engine

Constant Summary collapse

VERSION =
self.version

Class Method Summary collapse

Class Method Details

.omit_injectObject



18
# File 'lib/blacklight_oembed.rb', line 18

def self.omit_inject ; @omit_inject ; end

.omit_inject=(value) ⇒ Object



13
14
15
16
# File 'lib/blacklight_oembed.rb', line 13

def self.omit_inject=(value)
  value = Hash.new(true) if value == true
  @omit_inject = value      
end

.versionObject



3
4
5
# File 'lib/blacklight_oembed/version.rb', line 3

def self.version
  @version ||= File.read(File.join(File.dirname(__FILE__), '..', '..', 'VERSION')).chomp
end