Module: Dryer::Clients

Defined in:
lib/dryer/clients.rb,
lib/dryer/clients/create.rb,
lib/dryer/clients/gems/create.rb,
lib/dryer/clients/generated_client.rb,
lib/dryer/clients/gems/gemfiles/create.rb,
lib/dryer/clients/gems/main_files/create.rb,
lib/dryer/clients/gems/client_files/create.rb,
lib/dryer/clients/generated_clients/create.rb,
lib/dryer/clients/gems/gemspec_files/create.rb,
lib/dryer/clients/generated_clients/request.rb,
lib/dryer/clients/gems/contract_files/create.rb,
lib/dryer/clients/generated_clients/resource.rb,
lib/dryer/clients/generated_clients/response.rb,
lib/dryer/clients/gems/api_description_files/create.rb,
lib/dryer/clients/generated_clients/resources/create.rb,
lib/dryer/clients/generated_clients/responses/create.rb,
lib/dryer/clients/api_descriptions/description_schema.rb,
lib/dryer/clients/generated_clients/requests/validate.rb,
lib/dryer/clients/api_descriptions/resources/generate_name.rb,
lib/dryer/clients/generated_clients/paths/variables/validate.rb

Defined Under Namespace

Modules: ApiDescriptions, Gems, GeneratedClients Classes: Create, GeneratedClient

Class Method Summary collapse

Class Method Details

.loaderObject



12
13
14
15
16
17
18
19
20
21
22
# File 'lib/dryer/clients.rb', line 12

def self.loader
  @loader ||= Zeitwerk::Loader.new.tap do |loader|
    root = File.expand_path("..", __dir__)
    loader.tag = "dryer_clients"
    loader.inflector = Zeitwerk::GemInflector.new("#{root}/dryer_clients.rb")
    loader.push_dir(root)
    loader.ignore(
      "#{root}/dryer_clients.rb",
    )
  end
end

.versionObject



6
7
8
9
10
# File 'lib/dryer/clients.rb', line 6

def self.version
  Gem::Specification::load(
    "./dryer_clients.gemspec"
  ).version
end