Module: SmsOnRails::ActsAsDeliverable
- Defined in:
- lib/sms_on_rails/activerecord_extensions/acts_as_deliverable.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods, SingletonMethods
Class Method Summary collapse
-
.extended(base) ⇒ Object
:nodoc:.
Class Method Details
.extended(base) ⇒ Object
:nodoc:
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/sms_on_rails/activerecord_extensions/acts_as_deliverable.rb', line 4 def self.extended(base)#:nodoc: base.send :class_attribute, :acts_as_deliverable_options base. = { :retry_count => 3, :max_messages => 30, :fatal_exception => nil, :locrec_options => {}, :error => "Unable to deliver.", :already_processed_error => 'Already delivered' } base.extend ClassMethods end |