Class: Stringex::ActsAsUrl::Adapter::Mongoid
- Defined in:
- lib/stringex/acts_as_url/adapter/mongoid.rb
Instance Attribute Summary
Attributes inherited from Base
#base_url, #callback_options, #configuration, #instance, #klass, #settings
Class Method Summary collapse
Methods inherited from Base
#create_callbacks!, ensure_loadable, #ensure_unique_url!, #initialize, #initialize_urls!, loadable?, #url_attribute
Constructor Details
This class inherits a constructor from Stringex::ActsAsUrl::Adapter::Base
Class Method Details
.load ⇒ Object
5 6 7 8 |
# File 'lib/stringex/acts_as_url/adapter/mongoid.rb', line 5 def self.load ensure_loadable orm_class.send :extend, Stringex::ActsAsUrl::ActsAsUrlClassMethods end |