Module: Notion::Config
Constant Summary collapse
- ATTRIBUTES =
%i[ proxy user_agent ca_path ca_file logger endpoint token timeout open_timeout default_page_size default_max_retries default_retry_after adapter ].freeze
Instance Method Summary collapse
Instance Method Details
#reset ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/notion/config.rb', line 24 def reset self.endpoint = 'https://api.notion.com/v1' self.user_agent = "Notion Ruby Client/#{Notion::VERSION}" self.ca_path = nil self.ca_file = nil self.token = nil self.proxy = nil self.logger = nil self.timeout = nil self.open_timeout = nil self.default_page_size = 100 self.default_max_retries = 100 self.default_retry_after = 10 self.adapter = ::Faraday.default_adapter end |