Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0790fc5b9b
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.52 kb
from base import *
class OptionSets(ListableApiResource, CreateableApiResource, UpdateableApiResource, DeleteableApiResource):
resource_name = 'option_sets'
def options(self, id=None):
if id:
return OptionSetOptions.get(self.id, id)
else:
return OptionSetOptions.all(self.id)
class OptionSetOptions(ListableApiSubResource, CreateableApiSubResource, UpdateableApiSubResource, DeleteableApiSubResource):
resource_name = 'options'
parent_resource = 'option_sets'
Jump to Line
Something went wrong with that request. Please try again.