Skip to content
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

Http token request #2

Merged
merged 1 commit into from Jul 27, 2011
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -69,6 +69,10 @@ def _inputs_init(self):
def http_inputs(self):
return [i for i in self.inputs if i.service['name'] == 'HTTP']

def http_input_token(self, name):
k = self.get_input_by_name(name)
return k.input_token

def get_input_by_name(self, name):
'''Locates an input by name. Case insensitive.'''
try:
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.