# Path: pagarme/resources/handler_request.py
# TEMPORARY_COMPANY = 'https://api.pagar.me/1/companies/temporary'
# KEYS = {}
# def validate_response(pagarme_response):
# def create_temporary_company():
# def authentication_key(api_key=None, company_temporary=False):
# def delete(end_point, data = {}):
# def get(end_point, data = {}):
# def post(end_point, data={}):
# def put(end_point, data = {}):
# def error(data):
# 
# Path: pagarme/resources/routes/card_routes.py
# BASE_URL = 'https://api.pagar.me/1/cards'
# GET_ALL_CARDS = BASE_URL
# GET_CARD_BY = BASE_URL


from pagarme.resources import handler_request
from pagarme.resources.routes import card_routes


def create(dictionary):
    return handler_request.post(card_routes.BASE_URL, dictionary)


def find_all():

# Path: pagarme/resources/handler_request.py
# TEMPORARY_COMPANY = 'https://api.pagar.me/1/companies/temporary'
# KEYS = {}
# def validate_response(pagarme_response):
# def create_temporary_company():
# def authentication_key(api_key=None, company_temporary=False):
# def delete(end_point, data = {}):
# def get(end_point, data = {}):
# def post(end_point, data={}):
# def put(end_point, data = {}):
# def error(data):
# 
# Path: pagarme/resources/routes/card_routes.py
# BASE_URL = 'https://api.pagar.me/1/cards'
# GET_ALL_CARDS = BASE_URL
# GET_CARD_BY = BASE_URL


# Path: pagarme/card.py
from pagarme.resources import handler_request
from pagarme.resources.routes import card_routes



def create(dictionary):
    return handler_request.post(card_routes.BASE_URL, dictionary)


def find_all():

    return handler_request.get(card_routes.GET_ALL_CARDS)