Class: Gitea::UserResource
- Defined in:
- lib/gitea/resources/user.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Gitea::Resource
Instance Method Details
#emails ⇒ Object
8 9 10 11 |
# File 'lib/gitea/resources/user.rb', line 8 def emails response = get_request("user/emails") Collection.from_response(response, type: Email) end |