Module: ChromembedRails::Model::ClassMethods
- Defined in:
- lib/chromembed_rails/model.rb
Overview
Class methods for models that include ChromembedRails::Model.
Instance Method Summary collapse
-
#extension_data(chrome_extension_update_url) ⇒ Object
ChromeExtensionCache entry for the latest extension bits.
Instance Method Details
#extension_data(chrome_extension_update_url) ⇒ Object
ChromeExtensionCache entry for the latest extension bits.
27 28 29 30 |
# File 'lib/chromembed_rails/model.rb', line 27 def extension_data(chrome_extension_update_url) self.new.update_with_current_bits( 'update_url' => chrome_extension_update_url) end |