Module: CloudscrapeClient::Configure

Included in:
CloudscrapeClient
Defined in:
lib/cloudscrape_client/configuration.rb

Defined Under Namespace

Classes: Configuration

Instance Method Summary collapse

Instance Method Details

#configurationObject



5
6
7
# File 'lib/cloudscrape_client/configuration.rb', line 5

def configuration
  @configuration ||= Configuration.new
end

#configure {|configuration| ... } ⇒ Object

Yields:



9
10
11
12
# File 'lib/cloudscrape_client/configuration.rb', line 9

def configure
  yield(configuration)
  configuration
end