Sha256: 75cade9d9fef5094ab68ef299e0f41852e9790e91c0fb0491824b87f0170a2da
Contents?: true
Size: 579 Bytes
Versions: 11
Compression:
Stored size: 579 Bytes
Contents
module ActiveRecord module Acts #:nodoc: module MuckCartCoupon #:nodoc: def self.included(base) base.extend(ClassMethods) end module ClassMethods def acts_as_muck_cart_coupon(options = {}) belongs_to :coupon belongs_to :cart include ActiveRecord::Acts::MuckCartCoupon::InstanceMethods extend ActiveRecord::Acts::MuckCartCoupon::SingletonMethods end end # class methods module SingletonMethods end module InstanceMethods end end end end
Version data entries
11 entries across 11 versions & 1 rubygems