lib/onebox/engine.rb in onebox-1.5.10 vs lib/onebox/engine.rb in onebox-1.5.11

- old
+ new

@@ -12,11 +12,11 @@ attr_reader :url attr_reader :cache attr_reader :timeout - DEFUALT = {} + DEFAULT = {} def options @options end def options=(opt) @@ -30,10 +30,10 @@ end def initialize(link, cache = nil, timeout = nil) - @options = DEFUALT + @options = DEFAULT class_name = self.class.name.split("::").last.to_s self.options = Onebox.options[class_name] || {} #Set the engine options extracted from global options. @url = link @cache = cache || Onebox.options.cache