lib/bearcat/client/roles.rb in bearcat-1.4.13 vs lib/bearcat/client/roles.rb in bearcat-1.5.0.beta1
- old
+ new
@@ -1,15 +1,15 @@
module Bearcat
class Client < Footrest::Client
module Roles
+ extend ClientModule
def roles(account_id='self', params={})
get("/api/v1/accounts/#{account_id}/roles", params)
end
def role(role_id, account_id='self', params={})
get("/api/v1/accounts/#{account_id}/roles/#{role_id}", params)
end
-
end
end
end