Sha256: 2011626410b604a4f633c7c0acac9f92142df0a58a013125005352b678849207

Contents?: true

Size: 160 Bytes

Versions: 6

Compression:

Stored size: 160 Bytes

Contents

class ActiveRecord::Base 

  def self.acts_as_campaign(params = {})
  	EpomRails.config.campaign[:model] = self
    acts_as(Epom::Campaign, params)
  end

end  

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
epom_rails-1.4.4 lib/epom_rails/acts_as_campaign.rb
epom_rails-1.4.2 lib/epom_rails/acts_as_campaign.rb
epom_rails-1.4.1 lib/epom_rails/acts_as_campaign.rb
epom_rails-1.4.0 lib/epom_rails/acts_as_campaign.rb
epom_rails-1.3.6 lib/epom_rails/acts_as_campaign.rb
epom_rails-1.3.5 lib/epom_rails/acts_as_campaign.rb