Permalink
Browse files

fix bug introduced in 21606e5

  • Loading branch information...
1 parent 06ad441 commit a440dc7045093e68714655751c1e49c59cd86e85 Andy Shen committed with Aug 13, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/campaign_monitor.rb
View
@@ -101,7 +101,7 @@ def http_get(url)
# By overriding the method_missing method, it is possible to easily support all of the methods
# available in the API
- def method_missing(method_id, params)
+ def method_missing(method_id, params = {})
request(method_id.id2name.gsub(/_/, '.'), params)
end

0 comments on commit a440dc7

Please sign in to comment.