lib/mambanation/base.rb in mambanation-0.1.10 vs lib/mambanation/base.rb in mambanation-0.1.11
- old
+ new
@@ -134,10 +134,10 @@
def create_post(id, app_id, post)
perform_post("/posts", :body => { :post => post , :user_id => id , :fb_sig_app_id => app_id})
end
def posts(id, query = {})
- perform_get("/posts/#{id.to_i}.json", :query => query)
+ perform_get("/posts/#{id}.json", :query => query)
end
def publish_post(id, stream_id)
perform_post("/posts/#{id}/publish.json", :body => { :post => { :stream_id => stream_id } })
end