summaryrefslogtreecommitdiffstats
path: root/testapi/testapi-client/testapiclient/client/pods.py
blob: 4254da78eaffb0ca263d27e54d961da90953410b (plain)
1
2
3
4
5
6
7
8
9
10
11
from testapiclient.client import base


class PodsClient(base.Client):
    resource = 'pods'

    def __init__(self, **kwargs):
        super(PodsClient, self).__init__(**kwargs)

    def create(self, pod_req):
        return self.clientmanager.post(self.url, pod_req)