from flask.ext.restful import Resource


class PinList(Resource):

    def get(self):
        return {'hello': 'world'}


class PinDetail(Resource):

    def get(self, pin_num):
        return {'pin': pin_num}

    def put(self, pin_num):
        return {'pin': pin_num}

@@ -35,33 +35,217 @@
 urce
-%0A%0A%0Aclass PinList(Resource
+, reqparse, marshal, fields%0A%0A%0Aclass Pin(Resource):%0A%0A    fields = %7B%0A        %22status%22: fields.String%0A    %7D%0A%0A    def response(self, data, code):%0A        return marshal(data, self.fields), code%0A%0A%0Aclass PinList(Pin
 ):%0A%0A
@@ -315,24 +315,19 @@
 nDetail(
-Resource
+Pin
 ):%0A%0A    

Work on pin handler