# Path: groupy/utils.py
# def urljoin(base, path=None):
# def parse_share_url(share_url):
# def get_rfc3339(when):
# def get_datetime(timestamp):
#     def __init__(self, key, value):
#     def __repr__(self):
#     def __call__(self, obj):
#     def __init__(self, tests):
#     def __call__(self, objects):
#     def find(self, objects):
#     def passes(self, obj):
# def make_filter(**tests):
# class AttrTest:
# class Filter:


from groupy import utils


class Manager:
    """Class for interacting with the endpoint for a resource.

    :param session: the requests session
    :type session: :class:`~groupy.session.Session`
    :param str path: path relative to the base URL
    """

    #: the base URL
    base_url = 'https://api.groupme.com/v3/'

    def __init__(self, session, path=None):
        self.session = session

# Path: groupy/utils.py
# def urljoin(base, path=None):
# def parse_share_url(share_url):
# def get_rfc3339(when):
# def get_datetime(timestamp):
#     def __init__(self, key, value):
#     def __repr__(self):
#     def __call__(self, obj):
#     def __init__(self, tests):
#     def __call__(self, objects):
#     def find(self, objects):
#     def passes(self, obj):
# def make_filter(**tests):
# class AttrTest:
# class Filter:


# Path: groupy/api/base.py
from groupy import utils



class Manager:
    """Class for interacting with the endpoint for a resource.

    :param session: the requests session
    :type session: :class:`~groupy.session.Session`
    :param str path: path relative to the base URL
    """

    #: the base URL
    base_url = 'https://api.groupme.com/v3/'

    def __init__(self, session, path=None):
        self.session = session

        self.url = utils.urljoin(self.base_url, path)