lib/pagarme.rb in pagarme-1.9.7 vs lib/pagarme.rb in pagarme-1.9.8

- old
+ new

@@ -8,10 +8,11 @@ require 'pagarme/address' require 'pagarme/subscription' require 'pagarme/transaction' require 'pagarme/card' require 'pagarme/plan' +require 'pagarme/bank_account' require 'pagarme/request' require 'pagarme/errors' module PagarMe @@api_key = nil @@ -42,8 +43,8 @@ def self.full_api_url(relative_path) "#{@@api_endpoint}#{relative_path}" end def self.validate_fingerprint(id, fingerprint) - Digest::SHA1.hexdigest(id.to_s + "#" + @@api_key) == fingerprint + Digest::SHA1.hexdigest(id.to_s + "#" + @@api_key) == fingerprint end end