Sha256: 3c70d2908a2d360fb958208626572e758edf45beaa1174a84784f0800d36e82c

Contents?: true

Size: 197 Bytes

Versions: 3

Compression:

Stored size: 197 Bytes

Contents

module PirschApi
  class PageResource < BaseResource
    def request_url
      "statistics/page"
    end

    def parse_response(body)
      JSON.parse(body).map{ |o| Page.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/page.rb
pirsch_api-0.0.3 lib/pirsch_api/resources/statistics/page.rb
pirsch_api-0.0.2 lib/pirsch_api/resources/statistics/page.rb