Example #1
0
 def make_get_no_token_payload(self):
     return make_template_file(NO_TOKEN_TEMPLATE)
Example #2
0
 def make_get_wrong_option_payload(self):
     return make_template_file(WRONG_OPTION_TEMPLATE)
Example #3
0
 def make_get_no_account_payload(self):
     return make_template_file(NO_ACCOUNT_TEMPLATE)
Example #4
0
 def make_get_token_payload(self, token):
     return make_template_file(GET_TOKEN_TEMPLATE.format(token=token))
Example #5
0
 def make_get_balance_payload(self, balance):
     return make_template_file(GET_BALANCE_TEMPLATE.format(balance=balance))
Example #6
0
 def make_get_option_payload(self, account):
     return make_template_file(GET_OPTION_TEMPLATE.format(account=account))
Example #7
0
 def make_get_digit_payload(self):
     return make_template_file(GET_DIGIT_TEMPLATE)
Example #8
0
 def make_reject_payload(self):
     return make_template_file(VOICE_CALLBACK__REJECT_TEMPLATE)