Sha256: dec793fe75fca411389965ae3feada20ffec0daaa68089aae7d17a426309d39c

Contents?: true

Size: 365 Bytes

Versions: 21

Compression:

Stored size: 365 Bytes

Contents

module Gitea
  module Api
    module Activitypub 

      def get_activitypub_user_by_username(username, opt = {})
        @http.get("/activitypub/user/#{username}", opt)
      end

      def post_activitypub_user_inbox_by_username(username, opt = {})
        @http.post("/activitypub/user/#{username}/inbox", opt)
      end

    end # Admin
  end # Api 
end # Gitea

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
gitea-client-1.6.1 lib/gitea/api/activitypub.rb
gitea-client-1.6.0 lib/gitea/api/activitypub.rb
gitea-client-1.5.9 lib/gitea/api/activitypub.rb
gitea-client-1.5.8 lib/gitea/api/activitypub.rb
gitea-client-1.5.6 lib/gitea/api/activitypub.rb
gitea-client-1.5.0 lib/gitea/api/activitypub.rb
gitea-client-1.4.6 lib/gitea/api/activitypub.rb
gitea-client-1.4.5 lib/gitea/api/activitypub.rb
gitea-client-1.4.4 lib/gitea/api/activitypub.rb
gitea-client-1.4.3 lib/gitea/api/activitypub.rb
gitea-client-1.4.2 lib/gitea/api/activitypub.rb
gitea-client-1.4.1 lib/gitea/api/activitypub.rb
gitea-client-1.4.0 lib/gitea/api/activitypub.rb
gitea-client-1.3.3 lib/gitea/api/activitypub.rb
gitea-client-1.3.2 lib/gitea/api/activitypub.rb
gitea-client-1.3.0 lib/gitea/api/activitypub.rb
gitea-client-1.3.1 lib/gitea/api/activitypub.rb
gitea-client-1.2.2 lib/gitea/api/activitypub.rb
gitea-client-1.2.1 lib/gitea/api/activitypub.rb
gitea-client-1.2.0 lib/gitea/api/activitypub.rb