Sha256: 65c61db5f85eeea03939abe8c1f157516481a4cf73e953f3d9f222c39aafde9d

Contents?: true

Size: 190 Bytes

Versions: 4

Compression:

Stored size: 190 Bytes

Contents

module PirschApi
  class ActiveResource < BaseResource
    def request_url
      "statistics/active"
    end

    def parse_response(body)
      Active.new JSON.parse(body)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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