lib/stripe/stripe_response.rb in stripe-10.2.0.pre.beta.1 vs lib/stripe/stripe_response.rb in stripe-10.2.0

- old
+ new

@@ -39,12 +39,10 @@ end end def [](name) values = @hash[name.downcase] - if values && values.count > 1 - warn("Duplicate header values for `#{name}`; returning only first") - end + warn("Duplicate header values for `#{name}`; returning only first") if values && values.count > 1 values ? values.first : nil end end module StripeResponseBase