<s> from libsaas import http , parsers <EOL> from libsaas . services import base <EOL> from . resource import BasecampResource <EOL> class AttachmentResource ( BasecampResource ) : <EOL> path = '<STR_LIT>' <EOL> @ base . apimethod <EOL> def get ( self , page = 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> class Attachments ( AttachmentResource ) : <EOL> def create ( self , * args , ** kwargs ) : <EOL> raise base . MethodNotSupported ( ) <EOL> class GlobalAttachments ( AttachmentResource ) : <EOL> pass </s>
