feed -> news; - api/
This commit is contained in:
1 parent
22edc3b275
commit
02906582ac
5 files changed
+7
-7
No files matched your search
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Created by tmshv on 22/11/14.
|
||||
*/
|
||||
|
||||
function APIFeed(http){
|
||||
this.request = http;
|
||||
}
|
||||
|
||||
APIFeed.prototype.feed = function() {
|
||||
return this.request.get("/news");
|
||||
};
|
||||
|
||||
module.exports = APIFeed;
|
||||
Reference in new issue
Block a user