Class: Qapi::Github::OrganizationQuery
- Inherits:
-
Query
- Object
- Query
- Qapi::Github::OrganizationQuery
- Defined in:
- lib/qapi/github/query/organization_query.rb
Instance Method Summary collapse
Instance Method Details
#find(id, options = {}) ⇒ Object
5 6 7 8 |
# File 'lib/qapi/github/query/organization_query.rb', line 5 def find(id, = {}) response = @connection.get("/orgs/#{id}", ) Organization.new(@connection, JSON(response.body)) end |