Skip to content

Instantly share code, notes, and snippets.

@AdamSaleh
Created January 9, 2014 14:49
Show Gist options
  • Select an option

  • Save AdamSaleh/8335235 to your computer and use it in GitHub Desktop.

Select an option

Save AdamSaleh/8335235 to your computer and use it in GitHub Desktop.
class Environment2(ApiMixin):
class Meta:
class Generator:
required = ('name')
definitions = dict(
name = regexdef(r"environment_\d\d\d"))
class Api:
api_path = "/api/environments/"
json_key = u'environment'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment