Changes between Version 81 and Version 82 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
06/04/13 21:32:35 (8 years ago)
Author:
hardik juneja
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v81 v82  
    560560}}}
    561561
    562 At first you implement your report function (in the controller file). This function takes the argument r (=S3RESTRequest) and a dict of named arguments (just the same named arguments from the s3_rest_controller call above). This function returns the report. Then, in your controller, you plug in this function to your resource - together it would look like that:
     562At first you implement your report function (in the controller file). This function takes the argument r (=S3Request) and a dict of named arguments (just the same named arguments from the s3_rest_controller call above). This function returns the report. Then, in your controller, you plug in this function to your resource - together it would look like that:
    563563
    564564{{{