Sha256: 8c7b15c574b0888c79921abe132cf0d671073f8851cd0c2e9a2b06786ac526c2

Contents?: true

Size: 379 Bytes

Versions: 4

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

require_relative "groq/version"

module Groq
  autoload :Configuration, "groq/configuration"
  autoload :Client, "groq/client"
  autoload :Model, "groq/model"
  autoload :Helpers, "groq/helpers"

  class << self
    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield configuration
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
groq-0.3.2 lib/groq.rb
groq-0.3.1 lib/groq.rb
groq-0.3.0 lib/groq.rb
groq-0.2.0 lib/groq.rb