Sha256: 8789321fa326ef80753cfdb2fbe19be109c1c67bafa82d5f6d40da584fffb0e3

Contents?: true

Size: 191 Bytes

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

Version Path
pirsch_api-0.1.1 lib/pirsch_api/resources/statistics/active.rb
pirsch_api-0.1.0 lib/pirsch_api/resources/statistics/active.rb