Permalink
Browse files

Fix default args in APIRequest#initialize

  • Loading branch information...
hhuang committed Apr 28, 2012
1 parent 319b83e commit df97a2d0adb75e86db03b7e99afa3d76c99cfdac
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mimic/api.rb
View
@@ -48,7 +48,7 @@ def host
class APIRequest
attr_reader :request_content_type
- def initialize(data, method = nil, request_content_type)
+ def initialize(data, method = nil, request_content_type = '')
@data = data
@method = (method || "GET")
@stubs = []

0 comments on commit df97a2d

Please sign in to comment.