Sha256: d2e81e6cf6e7babfc5db45eb9549236ad34be84f0d61de565607633142bef8cf
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
module Freefeed class Group < ResourceKitling::Resource actions do action :create do verb :post version :v1 path '/groups' end action :sudo_create do verb :post version :v1 path '/groups/sudo' end action :update_profile_picture do verb :post version :v1 path '/groups/:name/updateProfilePicture' end action :admin do verb :post version :v1 path '/groups/:name/subscribers/:username/admin' end action :unadmin do verb :post version :v1 path '/groups/:name/subscribers/:username/unadmin' end action :send_request do verb :post version :v1 path '/groups/:name/sendRequest' end action :accept_request do verb :post version :v1 path '/groups/:name/acceptRequest/:username' end action :reject_request do verb :post version :v1 path '/groups/:name/rejectRequest/:username' end action :unsubscribe_from_group do verb :post version :v1 path '/groups/:name/unsubscribeFromGroup/:username' end action :manage do verb :get version :v2 path '/managedGroups' end action :all do verb :get version :v2 path '/allGroups' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
freefeed-client-1.1.0 | lib/freefeed/resources/group.rb |
freefeed-client-0.1.0 | lib/freefeed/resources/group.rb |