Module: Gitea::Api::Activitypub
- Defined in:
- lib/gitea/api/activitypub.rb
Instance Method Summary collapse
- #get_activitypub_user_by_username(username, opt = {}) ⇒ Object
- #post_activitypub_user_inbox_by_username(username, opt = {}) ⇒ Object
Instance Method Details
#get_activitypub_user_by_username(username, opt = {}) ⇒ Object
5 6 7 |
# File 'lib/gitea/api/activitypub.rb', line 5 def get_activitypub_user_by_username(username, opt = {}) @http.get("/activitypub/user/#{username}", opt) end |
#post_activitypub_user_inbox_by_username(username, opt = {}) ⇒ Object
9 10 11 |
# File 'lib/gitea/api/activitypub.rb', line 9 def post_activitypub_user_inbox_by_username(username, opt = {}) @http.post("/activitypub/user/#{username}/inbox", opt) end |