noosfero | Noosfero API (#500)

Bráulio Bhavamitra gitlab at gitlab.com
Fri Mar 13 18:47:16 BRT 2015


New comment for Merge Request 500

https://gitlab.com/noosfero/noosfero/merge_requests/500#note_953690


Bráulio Bhavamitra

@aurium it is quite strange to have a method and then inside it you call multiple `api_rpc` that returns all the api. In the Rails/Ruby standard, you would have `api_rpc` as a class method and then it writes the information inside a variable defined with `class_attribute`.
(the value of the variable differ for each plugin subclass).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150313/dd9189c2/attachment.html>


More information about the Noosfero-dev mailing list