Skip to content

Commit

Permalink
fix for ruby 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
fawad committed Aug 17, 2012
1 parent d5c32ad commit 0852d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clockwork/message_collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def initialize options
# @see Clockwork::SMS
# Create a new instance of Clockwork::SMS in this MessageCollection.
def build params = {}
sms = Clockwork::SMS.new({ api: @api }.merge(params))
sms = Clockwork::SMS.new({:api => @api}.merge(params))
sms.wrapper_id = @messages.count
@messages << sms
sms
Expand Down

0 comments on commit 0852d4a

Please sign in to comment.