crafters / cielo

Gem para integração com os WebServices da Cielo
www.crafters.com.br
MIT License
85 stars 52 forks source link

Ruby 1.8.7 require net/https to create secure connections #5

Closed fnmunhoz closed 12 years ago

fnmunhoz commented 12 years ago

The gem was not working for me with ruby 1.8.7.

The error occurred on this line [1]

After require 'net/https' it started working.

I've tested with ruby 1.9.3 and it works too.

[1] https://github.com/crafters/cielo/blob/b58eabe637d1ff5f198978bb1932057b01d50635/lib/cielo/connection.rb#L8