lib/zoho_hub/configuration.rb in zoho_hub-0.1.56 vs lib/zoho_hub/configuration.rb in zoho_hub-0.2.0

- old
+ new

@@ -1,19 +1,18 @@ # frozen_string_literal: true module ZohoHub class Configuration - attr_accessor :client_id, :secret, :redirect_uri, :base_url, :access_type + attr_accessor :client_id, :secret, :redirect_uri, :api_domain attr_writer :debug - DEFAULT_BASE_URL = 'https://accounts.zoho.eu' + DEFAULT_API_DOMAIN = 'https://accounts.zoho.eu' def initialize @client_id = '' @secret = '' @redirect_uri = '' - @base_url = DEFAULT_BASE_URL - @access_type = Auth::DEFAULT_ACCESS_TYPE + @api_domain = DEFAULT_API_DOMAIN end def debug? @debug end