Skip to content

Commit

Permalink
fix bug introduced in 21606e5
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Shen committed Aug 13, 2008
1 parent c412308 commit f70bf90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/campaign_monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f70bf90

Please sign in to comment.