Class: OfferEngine::Models::RegPath
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- OfferEngine::Models::RegPath
- Defined in:
- lib/reg_path/offer_engine/models/reg_path.rb
Instance Method Summary collapse
Instance Method Details
#get_offers(step, options = {}) ⇒ Object
6 7 8 9 |
# File 'lib/reg_path/offer_engine/models/reg_path.rb', line 6 def get_offers(step, ={}) offers_hashes = self.get(:get_offers, .merge({:reg_path_step=>step, :require_match=>false})) offers_hashes.map {|offer_hash| OfferEngine::Models::Offer.new.load(offer_hash)} end |