lib/khipu.rb in khipu-1.3.0 vs lib/khipu.rb in khipu-1.3.3

- old
+ new

@@ -6,10 +6,11 @@ require 'khipu/const' module Khipu API_URL = 'https://khipu.com/api/1.3/' + INTEGRATOR_API_URL = 'https://khipu.com/integratorApi/1.3/' DEBUG = ENV['KHIPU_DEBUG'] || false FORM_BUTTONS = { '50x25' => '50x25.png', '100x25' => '100x25.png', '100x25white' => '100x25-w.png', @@ -23,10 +24,10 @@ '150x75white' => '150x75-w.png', '200x50' => '200x50.png', '200x50white' => '200x50-w.png', '200x75' => '200x75.png', '200x75white' => '200x75-w.png', - }.inject({}) { |h, (k, v)| h[k] = 'htps://s3.amazonaws.com/static.khipu.com/buttons/' + v; h } + }.inject({}) { |h, (k, v)| h[k] = 'https://s3.amazonaws.com/static.khipu.com/buttons/' + v; h } def self.create_khipu_api(receiver_id, secret = '') KhipuApiEndpoint.new(receiver_id, secret) end