Module: BraveSearch

Defined in:
lib/brave_search.rb,
lib/brave_search/client.rb,
lib/brave_search/railtie.rb,
lib/brave_search/results.rb,
lib/brave_search/storage.rb,
lib/brave_search/version.rb,
lib/brave_search/exporter.rb,
lib/brave_search/storage/s3.rb,
lib/brave_search/summarizer.rb,
lib/brave_search/async_client.rb,
lib/brave_search/configuration.rb,
lib/brave_search/exporters/csv.rb,
lib/brave_search/exporters/base.rb,
lib/brave_search/exporters/json.rb,
lib/brave_search/exporters/xlsx.rb,
lib/brave_search/pdf_downloader.rb,
lib/brave_search/summary_result.rb,
lib/brave_search/jobs/export_job.rb,
lib/brave_search/jobs/pdf_download_job.rb,
lib/generators/brave_search/install_generator.rb

Defined Under Namespace

Modules: Exporters, Jobs, Storage Classes: AsyncClient, AuthenticationError, Client, Configuration, EnrichedResult, Error, Exporter, InstallGenerator, PdfDownloader, QuotaExceededError, Railtie, RateLimitError, Results, Summarizer, SummaryResult

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



27
28
29
# File 'lib/brave_search.rb', line 27

def configuration
  @configuration
end

Class Method Details

.configObject



35
36
37
# File 'lib/brave_search.rb', line 35

def self.config
  self.configuration ||= Configuration.new
end

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

Yields:



30
31
32
33
# File 'lib/brave_search.rb', line 30

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end