Sha256: 9b85a4e75cb5636db13a48cf5f6c8d784f87dbc159b3131cd1f8f3b05c92ecf6

Contents?: true

Size: 217 Bytes

Versions: 3

Compression:

Stored size: 217 Bytes

Contents

module PirschApi
  class UtmSourceResource < BaseResource
    def request_url
      "statistics/utm/source"
    end
    
    def parse_response(body)
      JSON.parse(body).map{ |o| UtmSource.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_source.rb
pirsch_api-0.0.3 lib/pirsch_api/resources/statistics/utm_source.rb
pirsch_api-0.0.2 lib/pirsch_api/resources/statistics/utm_source.rb