class Magnifier::Settings
Public Class Methods
api_key()
click to toggle source
# File lib/magnifier.rb, line 20 def self.api_key begin options['magnifier_options'][Rails.env]['api_key'] rescue end end
options()
click to toggle source
# File lib/magnifier.rb, line 8 def self.options YAML::load(File.open("config/magnifier_options.yml")) end
site()
click to toggle source
# File lib/magnifier.rb, line 12 def self.site begin options['magnifier_options'][Rails.env]['site'] rescue end end