예제 #1
0
 def avatarFail(self, api_url, message):
     self.vals = { 'auth_member_id' : self.auth_member_id,
                   'auth_token'     : self.auth_token,
                   'action'         : self.action,
                   'url'            : self.url
                 }
     manager = Manager(self.vals)
     manager.requestFail(api_url, "session/avatar", message)
예제 #2
0
 def passwordFail(self, api_url, message):
     self.vals = {
         "auth_member_id": self.member_id,
         "auth_token": self.auth_token,
         "action": self.action,
         "username": self.username,
         "current_password": self.current_password,
         "password": self.new_password,
         "email": self.email
     }
     manager = Manager(self.vals)
     manager.requestFail(api_url, "session/password", message)
예제 #3
0
 def accountFail(self, api_url, message):
     self.vals = {
         'auth_member_id': self.memberId,
         'auth_token': self.authToken,
         'action': self.action,
         'email': self.email,
         'password': self.password,
         'first_name': self.member_first_name,
         'last_name': self.member_last_name,
         'bday_d': self.bday_d,
         'bday_m': self.bday_m,
         'bday_y': self.bday_y,
         'device_name': self.device_name,
         'gender': self.member_gender
     }
     manager = Manager(self.vals)
     manager.requestFail(api_url, "session/account", message)
예제 #4
0
 def bountyFail(self, api_url, message):
     self.vals = {
         'auth_member_id': self.member_id,
         'auth_token': self.auth_token,
         'action': self.action,
         'isbn': self.isbn
     }
     manager = Manager(self.vals)
     return manager.requestFail(api_url, "ecomm/bounty", message)
예제 #5
0
 def loginFail(self, api_url, message):
     manager = Manager(self.vals)
     manager.requestFail(api_url, "session/login", message)
예제 #6
0
 def detailsFail(self, api_url, message):
     manager = Manager(self.vals)
     manager.requestFail(api_url, "metadata/details", message)