Module: HasTokenable::ActiveRecordTie
- Defined in:
- lib/has_tokenable.rb
Instance Method Summary collapse
Instance Method Details
#has_tokenable(options = {}) ⇒ Object
9 10 11 12 |
# File 'lib/has_tokenable.rb', line 9 def has_tokenable(={}) self.send(:include, HasTokenable::Concern) @has_tokenable_options ||= HasTokenable..merge() end |
#has_tokenable_options ⇒ Object
14 15 16 |
# File 'lib/has_tokenable.rb', line 14 def @has_tokenable_options ||= HasTokenable. end |