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
v2gpti-1.2.0 tracker_api/lib/tracker_api/endpoints/me.rb
tracker_api-0.2.8 lib/tracker_api/endpoints/me.rb
tracker_api-0.2.7 lib/tracker_api/endpoints/me.rb