lib/onebox.rb in onebox-1.5.20 vs lib/onebox.rb in onebox-1.5.21

- old
+ new

@@ -21,10 +21,14 @@ def self.preview(url, options = Onebox.options) Preview.new(url, options) end + def self.check(url, options = Onebox.options) + StatusCheck.new(url, options) + end + def self.options OpenStruct.new(@@options) end def self.has_matcher?(url) @@ -37,9 +41,10 @@ end end require_relative "onebox/version" require_relative "onebox/preview" +require_relative "onebox/status_check" require_relative "onebox/matcher" require_relative "onebox/engine" require_relative "onebox/layout" require_relative "onebox/view"