<s> from libsaas import http , parsers <EOL> from libsaas . services import base <EOL> from . import resource <EOL> class CustomFields ( resource . UserVoiceResource ) : <EOL> path = '<STR_LIT>' <EOL> def create ( self , obj ) : <EOL> raise base . MethodNotSupported ( ) <EOL> @ base . apimethod <EOL> def get ( self , page = None , per_page = None , filter = None , sort = None ) : <EOL> """<STR_LIT>""" <EOL> params = base . get_params ( None , locals ( ) ) <EOL> request = http . Request ( '<STR_LIT:GET>' , self . get_url ( ) , params ) <EOL> return request , parsers . parse_json <EOL> @ base . apimethod <EOL> def public ( self , page = None , per_page = None , sort = None ) : <EOL> """<STR_LIT>""" <EOL> params = base . get_params ( None , locals ( ) ) <EOL> url = '<STR_LIT>' . format ( self . get_url ( ) ) <EOL> request = http . Request ( '<STR_LIT:GET>' , url , params ) <EOL> return request , parsers . parse_json </s>
