<s> from libsaas import http , parsers <EOL> from libsaas . services import base <EOL> from . import resource <EOL> class AdjustmentsBase ( resource . RecurlyResource ) : <EOL> path = '<STR_LIT>' <EOL> class AccountAdjustments ( AdjustmentsBase ) : <EOL> @ base . apimethod <EOL> def get ( self , type = None , state = None , cursor = None , per_page = None ) : <EOL> """<STR_LIT>""" <EOL> params = base . get_params ( ( '<STR_LIT:type>' , '<STR_LIT:state>' , '<STR_LIT>' , '<STR_LIT>' ) , <EOL> locals ( ) ) <EOL> request = http . Request ( '<STR_LIT:GET>' , self . get_url ( ) , params ) <EOL> return request , parsers . parse_xml <EOL> def update ( self , * args , ** kwargs ) : <EOL> raise base . MethodNotSupported ( ) <EOL> class Adjustment ( AdjustmentsBase ) : <EOL> def create ( self , * args , ** kwargs ) : <EOL> raise base . MethodNotSupported ( ) <EOL> def update ( self , * args , ** kwargs ) : <EOL> raise base . MethodNotSupported ( ) </s>
