lib/bearcat/client/groups.rb in bearcat-1.2.9 vs lib/bearcat/client/groups.rb in bearcat-1.2.10
- old
+ new
@@ -8,8 +8,15 @@
def account_groups(account_id)
get("/api/v1/accounts/#{account_id}/groups")
end
+ def group(id)
+ get("/api/v1/groups/#{id}")
+ end
+
+ def create_group(group_category_id, params={})
+ post("/api/v1/group_categories/#{group_category_id}/groups", params)
+ end
end
end
end
\ No newline at end of file