lib/mambanation.rb in mambanation-0.0.5 vs lib/mambanation.rb in mambanation-0.1.0

- old
+ new

@@ -24,29 +24,9 @@ class General < MambaNationError; end class Unavailable < StandardError; end class InformMambaNation < StandardError; end class NotFound < StandardError; end - - # Options: user_id, facebook_id - def self.user(*user) - perform_get("/users/show.json", :body => { :user => user }) - end - - # Options: user_id, facebook_id - def self.user_facets(query = {}) - perform_get("/users/facets.json", :query => query) - end - - # Options: user_id, :limit - def self.user_media(query = {}) - perform_get("/users/media.json", :query => query) - end - - # Options: user_id, facebook_id - def self.user_friends(query = {}) - perform_get("/users/friends.json", :query => query) - end private def self.perform_get(uri, options = {}) make_friendly(get(uri, options))