lib/braintree/configuration.rb in braintree-1.0.0 vs lib/braintree/configuration.rb in braintree-1.0.1
- old
+ new
@@ -56,10 +56,10 @@
end
def self.port # :nodoc:
case environment
when :development
- 3000
+ ENV['GATEWAY_PORT'] || 3000
when :production, :qa, :sandbox
443
end
end