Module: SmsOnRails::ActsAsSubstitutable

Defined in:
lib/sms_on_rails/activerecord_extensions/acts_as_substitutable.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



4
5
6
7
8
9
# File 'lib/sms_on_rails/activerecord_extensions/acts_as_substitutable.rb', line 4

def self.extended(base)
  base.send :class_attribute, :acts_as_sub_options
  base.acts_as_sub_options = {}

  base.extend ClassMethods
end