lib/validic.rb in validic-0.3.3 vs lib/validic.rb in validic-0.4.1

- old
+ new

@@ -1,37 +1,20 @@ -require "faraday" -require "faraday_middleware" -require "validic/client" -require "validic/version" +require 'validic/client' -directory = File.expand_path(File.dirname(__FILE__)) - module Validic - + BASE_URL = "https://api.validic.com/v1" class << self attr_accessor :api_url, :api_version, :access_token, - :organization_id, - :user_id + :organization_id ## # Configure default # # @yield [Validic] def configure - load_defaults yield self true end - - private - - def load_defaults - self.api_url ||= 'https://api.validic.com' - self.api_version ||= 'v1' - self.access_token ||= 'ENTERPRISE_KEY' - self.organization_id ||= '51aca5a06dedda916400002b' - end end - end