lib/pagarme.rb in pagarme-1.10.0 vs lib/pagarme.rb in pagarme-2.0.0
- old
+ new
@@ -17,11 +17,10 @@
module PagarMe
@@api_key = nil
@@api_endpoint = 'https://api.pagar.me/1'
@@live = true
- @@api_card_encryption_public_key = File.join(File.dirname(__FILE__), '..', 'certs/public_key.pem')
def self.api_endpoint=(api_endpoint)
@@api_endpoint = api_endpoint
end
@@ -33,13 +32,9 @@
@@api_key = api_key
end
def self.api_key
@@api_key
- end
-
- def self.api_card_encryption_public_key
- @@api_card_encryption_public_key
end
def self.full_api_url(relative_path)
"#{@@api_endpoint}#{relative_path}"
end