Sha256: 3a64a6f7f1082d9bc853b18cdc4d5911d27a933c8512085fee88b68184ea1597

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

module Applicants
  class AffiliateTrackingController < Applicants::ApplicationController
    def fire
      if params[:transaction_id].present?
        # fire and forget requests
        Net::HTTP.get(Applicants::AffiliateTracking.has_offers_offer_url(params[:transaction_id]))
        Net::HTTP.get(Applicants::AffiliateTracking.has_offers_goal_url(params[:transaction_id]))
      end
      head :ok
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
applicants-0.11.0 app/controllers/applicants/affiliate_tracking_controller.rb