Skip to content

new controllers #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 8, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions ControllerTemplate.pyt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class APICONTROLLERNAMEController(apicontrollersbase.APIOperationBase):

def __init__(self, apirequest, requestType):
super(APICONTROLLERNAMEController, self).__init__(apirequest, requestType)
super(APICONTROLLERNAMEController, self).__init__(apirequest)
return

def validaterequest(self):
Expand All @@ -11,7 +11,11 @@ class APICONTROLLERNAMEController(apicontrollersbase.APIOperationBase):
#if (self._request.xyz == "null"):
# raise ValueError('xyz is required')
return

def getrequesttype(self):
'''Returns request type'''
return 'APICONTROLLERNAMERequest'

def getresponseclass(self):
''' Returns the response class '''
return apicontractsv1.APICONTROLLERNAMEResponse()
return apicontractsv1.APICONTROLLERNAMEResponse()
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Testing
How to Use
--------------------------------------
You need to set your credentials.
Refer to template given in anet_python_sdk_properties.ini
Either copy it to your root directory or make a new one similar to this. If you create one name file anet_python_sdk_properties.ini
Refer to template given in anet_python_sdk_properties_template.ini
Either copy it to your root directory or make a new one similar to this. Whatever you opt, name file anet_python_sdk_properties.ini

The following is a sample which shows how to create a transaction request
and execute it using the create transaction controller.
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy