Sha256: 0850a295cf5d03956f761a1c129aad8ba5740a8d77e257a9734246d46b9ad40a

Contents?: true

Size: 257 Bytes

Versions: 43

Compression:

Stored size: 257 Bytes

Contents

module TrackerApi
  module Endpoints
    class Me
      attr_accessor :client

      def initialize(client)
        @client = client
      end

      def get
        data = client.get("/me").body

        Resources::Me.new(data)
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
tracker_api-1.16.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.15.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.14.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.13.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.12.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.11.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.10.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.9.1 lib/tracker_api/endpoints/me.rb
tracker_api-1.9.0 lib/tracker_api/endpoints/me.rb
v2gpti-1.3.5 tracker_api/lib/tracker_api/endpoints/me.rb
v2gpti-1.3.4 tracker_api/lib/tracker_api/endpoints/me.rb
v2gpti-1.3.3 tracker_api/lib/tracker_api/endpoints/me.rb
v2gpti-1.3.2 tracker_api/lib/tracker_api/endpoints/me.rb
v2gpti-1.3.1 tracker_api/lib/tracker_api/endpoints/me.rb
tracker_api-1.8.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.7.1 lib/tracker_api/endpoints/me.rb
tracker_api-1.7.0 lib/tracker_api/endpoints/me.rb
v2gpti-1.3.0 tracker_api/lib/tracker_api/endpoints/me.rb
v2gpti-1.2.9 tracker_api/lib/tracker_api/endpoints/me.rb
tracker_api-1.6.0 lib/tracker_api/endpoints/me.rb