Sha256: b18cdc44651171c7e048e69b2df12ebb9dd277944e298053a4f174d06503bd26

Contents?: true

Size: 223 Bytes

Versions: 3

Compression:

Stored size: 223 Bytes

Contents

module PirschApi
  class UtmCampaignResource < BaseResource
    def request_url
      "statistics/utm/campaign"
    end
    
    def parse_response(body)
      JSON.parse(body).map{ |o| UtmCampaign.new o }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pirsch_api-0.0.4 lib/pirsch_api/resources/statistics/utm_campaign.rb
pirsch_api-0.0.3 lib/pirsch_api/resources/statistics/utm_campaign.rb
pirsch_api-0.0.2 lib/pirsch_api/resources/statistics/utm_campaign.rb