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.5.0 lib/tracker_api/endpoints/me.rb
v2gpti-1.2.8 tracker_api/lib/tracker_api/endpoints/me.rb
tracker_api-1.4.1 lib/tracker_api/endpoints/me.rb
tracker_api-1.4.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.3.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.2.1 lib/tracker_api/endpoints/me.rb
tracker_api-1.1.1 lib/tracker_api/endpoints/me.rb
tracker_api-1.1.0 lib/tracker_api/endpoints/me.rb
tracker_api-1.0.0 lib/tracker_api/endpoints/me.rb
tracker_api-0.2.12 lib/tracker_api/endpoints/me.rb
tracker_api-0.2.11 lib/tracker_api/endpoints/me.rb
v2gpti-1.2.7 tracker_api/lib/tracker_api/endpoints/me.rb
v2gpti-1.2.6 tracker_api/lib/tracker_api/endpoints/me.rb
v2gpti-1.2.5 tracker_api/lib/tracker_api/endpoints/me.rb
v2gpti-1.2.4 tracker_api/lib/tracker_api/endpoints/me.rb
tracker_api-0.2.10 lib/tracker_api/endpoints/me.rb
v2gpti-1.2.3 tracker_api/lib/tracker_api/endpoints/me.rb
v2gpti-1.2.2 tracker_api/lib/tracker_api/endpoints/me.rb
tracker_api-0.2.9 lib/tracker_api/endpoints/me.rb
v2gpti-1.2.1 tracker_api/lib/tracker_api/endpoints/me.rb