Sha256: 2ae641feed156dab9a86c450242b46a6db014fe4273b4824224f398df66fffc2
Contents?: true
Size: 1.19 KB
Versions: 22
Compression:
Stored size: 1.19 KB
Contents
module Badgrcat class Client < Footrest::Client module Methods extend Bearcat::Client::ClientModule prefix "/v2/issuers" do get :issuers post :create_issuer prefix "/:issuer" do get :issuer put :update_issuer delete :delete_issuer prefix "/assertions" do get :issuer_assertions post :create_issuer_assertion end prefix "/badgeclasses" do get :issuer_badgeclasses post :create_issuer_badgeclass end end end prefix "/v2/badgeclasses" do get :badgeclasses post :create_badgeclass prefix "/:badgeclass" do get :badgeclass put :update_badgeclass delete :delete_badgeclass prefix "/assertions" do get :badgeclass_assertions post :create_badgeclass_assertion end end end prefix "/v2/assertions" do post :revoke_assertions, "/revoke" prefix "/v2/assertions/:assertion" do get :assertion put :update_assertion delete :delete_assertion end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems