lib/tracker_api/client.rb in tracker_api-0.2.1 vs lib/tracker_api/client.rb in tracker_api-0.2.2

- old
+ new

@@ -104,9 +104,16 @@ # @return [TrackerApi::Resources::Project] def project(id, params={}) Endpoints::Project.new(self).get(id, params) end + # Get information about the authenticated user + # + # @return [TrackerApi::Resources::Me] + def me + Endpoints::Me.new(self).get + end + private def parse_query_and_convenience_headers(path, options) raise 'Path can not be blank.' if path.to_s.empty?