Skip to content

Commit

Permalink
Fix typo in GCM::Notification
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinelyset committed Nov 4, 2013
1 parent 2e12ba8 commit a7a173d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pushmeup/gcm/notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ def device_tokens=(tokens)
elsif tokens.is_a?(String)
@device_tokens = [tokens]
else
raise "device_tokens needs to be either a hash or string"
raise "device_tokens needs to be either a Hash or String"
end
end

def data=(data)
if data.is_a?(Hash)
@data = data
else
raise "data parameter must be the tpe of Hash"
raise "data parameter must be the type of Hash"
end
end

Expand All @@ -52,4 +52,4 @@ def ==(that)
end

end
end
end

0 comments on commit a7a173d

Please sign in to comment.