add stub implementation for workspace members
This commit is contained in:
@@ -22,10 +22,7 @@ class Projects(object):
|
||||
"id": "b1154fdd-31c9-437f-b580-2e4d757de5cb",
|
||||
"name": "Development",
|
||||
},
|
||||
{
|
||||
"id": "b1e2077a-6a3d-4e7f-a80c-bf1143433adf",
|
||||
"name": "Sandbox"
|
||||
},
|
||||
{"id": "b1e2077a-6a3d-4e7f-a80c-bf1143433adf", "name": "Sandbox"},
|
||||
{
|
||||
"id": "8ea95eea-7cc0-4500-adf7-8a13eaa6b752",
|
||||
"name": "production",
|
||||
@@ -63,5 +60,33 @@ class Members(object):
|
||||
def get(self, request_id):
|
||||
pass
|
||||
|
||||
def get_many(self, workspace_id):
|
||||
return [
|
||||
{
|
||||
"first_name": "Danny",
|
||||
"last_name": "Knight",
|
||||
"email": "dknight@thenavy.mil",
|
||||
"dod_id": "1257892124",
|
||||
"workspace_role": "Developer",
|
||||
"status": "Pending",
|
||||
},
|
||||
{
|
||||
"first_name": "Mario",
|
||||
"last_name": "Hudson",
|
||||
"email": "mhudson@thearmy.mil",
|
||||
"dod_id": "4357892125",
|
||||
"workspace_role": "CCPO",
|
||||
"status": "Active",
|
||||
},
|
||||
{
|
||||
"first_name": "Louise",
|
||||
"last_name": "Greer",
|
||||
"email": "lgreer@theairforce.mil",
|
||||
"dod_id": "7257892125",
|
||||
"workspace_role": "Admin",
|
||||
"status": "Pending",
|
||||
},
|
||||
]
|
||||
|
||||
def update(self, request_id, request_delta):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user