class_docstr: Represents an abstract RESTPlus resource.
  
  Concrete resources should extend from this class
  and expose methods for each supported HTTP method.
  If a resource is invoked with an unsupported HTTP method,
  the API will return a response with status 405 Method Not Allowed.
  Otherwise the appropriate method is called and passed all arguments
  from the url rule used when adding the resource to an Api instance.
  See :meth:`~flask_restplus.Api.add_resource` for details.
class_docstr_tok: ["Represents","an","abstract","RESTPlus","resource",".","Concrete","resources","should","extend","from","this","class","and","expose","methods","for","each","supported","HTTP","method",".","If","a","resource","is","invoked","with","an","unsupported","HTTP","method",",","the","API","will","return","a","response","with","status","405","Method","Not","Allowed",".","Otherwise","the","appropriate","method","is","called","and","passed","all","arguments","from","the","url","rule","used","when","adding","the","resource","to","an","Api","instance",".","See",":","meth",":","`","~flask_restplus.Api.add_resource","`","for","details","."]
code: def __init__(self, api=None, *args, **kwargs):
      self.api = api
  
file_path: flask-restplus/flask_restplus/resource.py
imports: from __future__ import unicode_literals
  from flask import request
  from flask.views import MethodView
  from werkzeug.wrappers import BaseResponse
  from .model import ModelBase
  from .utils import unpack
label_desc: Use image node_id 1 to create a new Resource object from inherited base classes: MethodView with example: obj = Resource(api)