lib/easypost.rb in easypost-1.0.7 vs lib/easypost.rb in easypost-1.0.8

- old
+ new

@@ -1,10 +1,10 @@ require 'typhoeus' require 'json' module EasyPost @@api_key = "..." - @@api_base = 'https://www.easypost.co/api/' + @@api_base = 'http://www.easypost.co/api/' def self.api_url(args={}) raise ArgumentError unless args.keys.eql?([:type, :action]) return "#{@@api_base}#{args[:type]}/#{args[:action]}" end