Skip to content

Commit

Permalink
Added public methods for creating custom Twitter API calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jehna committed Sep 1, 2015
1 parent 458180c commit f2a5c90
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion dist/ng-twitter-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ angular.module('twitter.functions', [])
},
getUserDetails: function(user_id, parameters) {
return getRequest(USER_DETAILS_URL, {user_id: user_id}, parameters);
}
},
getRequest: getRequest,
postRequest: postRequest
};
}]);

Expand Down
4 changes: 2 additions & 2 deletions dist/ng-twitter-api.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/twitter-functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ angular.module('twitter.functions', [])
},
getUserDetails: function(user_id, parameters) {
return getRequest(USER_DETAILS_URL, {user_id: user_id}, parameters);
}
},
getRequest: getRequest,
postRequest: postRequest
};
}]);

0 comments on commit f2a5c90

Please sign in to comment.