lib/api_regulator/configuration.rb in api-regulator-0.1.1 vs lib/api_regulator/configuration.rb in api-regulator-0.1.2
- old
+ new
@@ -1,18 +1,13 @@
module ApiRegulator
class Configuration
- attr_accessor :base_controller, :api_base_url, :app_name, :docs_path, :rdme_api_id, :servers
+ attr_accessor :api_base_url, :app_name, :docs_path, :rdme_api_id, :servers
def initialize
# Set default values
- @base_controller = "ApplicationController"
@api_base_url = "api/v1"
@app_name = "API Documentation"
- @docs_path = "openapi.json"
+ @docs_path = "doc"
@servers = []
- end
-
- def base_controller_klass
- ApiRegulator.configuration.base_controller.constantize
end
end
end