Module: PostmanPat::ActsAsPostmanPat::Base::ClassMethods
- Defined in:
- lib/acts_as_postman_pat/base.rb
Instance Method Summary collapse
Instance Method Details
#acts_as_postman_pat ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/acts_as_postman_pat/base.rb', line 13 def acts_as_postman_pat # This is where arbitrary code goes that you want to # add to the class that declared "acts_as_widget" has_many :pm_mails, :dependent => :destroy, :class_name => 'PostmanPat::PmMail', :foreign_key => :recipient_id include PostmanPat::ActsAsPostmanPat::Base::InstanceMethods end |