#NEWLINE# def serve_example( self , resource , methods = None , **options ) : #NEWLINE# #INDENT# resource = self . get_resource ( resource ) #NEWLINE# for method in self . get_resource_methods ( resource , methods ) : #NEWLINE# #INDENT# method_spec = self . get_method_spec ( resource , method ) #NEWLINE# self . route ( resource , method , ** options ) ( self . create_example_view ( method_spec ) )