lib/two_performant.rb
#  Create a Deep Link. This method was created so it wouldn't make a request for every Quick Link.
#  You may need to get some data before using it.
Create a Deep Link. This method was created so it wouldn't make a request for every Quick Link.
You may need to get some data before using it.
Create a Deep Link . This method was created so it wouldn ' t make a request for every Quick Link . You may need to get some data before using it .
def campaign_quicklink(campaign_id, aff_code, redirect)
    url = "#{self.host}/events/click?ad_type=quicklink&aff_code=#{aff_code}&unique=#{campaign_id}&redirect_to=#{redirect}"
    if (self.auth_type == :oauth)
      url << "&app=#{self.oauth}"
    end
    url
  end
def campaign_quicklink ( campaign_id , aff_code , redirect ) url = "#{self.host}/events/click?ad_type=quicklink&aff_code=#{aff_code}&unique=#{campaign_id}&redirect_to=#{redirect}" if ( self . auth_type == :oauth ) url << "&app=#{self.oauth}" end url end
Create a Deep Link.
Create a Deep Link .
campaign_id
<not_specific>
aff_code
<not_specific>
redirect
<not_specific>