Sha256: 0cb9647feb459b29a48efa945f87540425e7565deac58bf64ca2d50076cab72a

Contents?: true

Size: 198 Bytes

Versions: 1

Compression:

Stored size: 198 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

1 entries across 1 versions & 1 rubygems

Version Path
pirsch_api-0.0.5 lib/pirsch_api/resources/statistics/page.rb