Class: Qapi::Github::UserQuery
- Inherits:
-
Query
- Object
- Query
- Qapi::Github::UserQuery
- Defined in:
- lib/qapi/github/query/user_query.rb
Instance Method Summary collapse
Instance Method Details
#me ⇒ Object
5 6 7 8 |
# File 'lib/qapi/github/query/user_query.rb', line 5 def me response = @connection.get("/user") User.new(@connection, JSON(response.body)) end |