Sha256: b369cab738c90a26fff23e23222ec807863d03d679053500e46e210f7b7e8b01

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

=begin
{{> api_info}}
=end

# Common files
require '{{gemName}}/api_client'
require '{{gemName}}/api_error'
require '{{gemName}}/version'
require '{{gemName}}/configuration'

# Models
{{#models}}
{{#model}}
{{^parent}}
require '{{gemName}}/{{modelPackage}}/{{classFilename}}'
{{/parent}}
{{/model}}
{{/models}}
{{#models}}
{{#model}}
{{#parent}}
require '{{gemName}}/{{modelPackage}}/{{classFilename}}'
{{/parent}}
{{/model}}
{{/models}}
require '{{gemName}}/{{modelPackage}}/one_of_drbd_resource_definition_layer'
require '{{gemName}}/{{modelPackage}}/one_of_drbd_volume_definition'
require '{{gemName}}/{{modelPackage}}/one_of_drbd_volume_luks_volume_storage_nvme_volme_writecache_volume'

# APIs
{{#apiInfo}}
{{#apis}}
require '{{importPath}}'
{{/apis}}
{{/apiInfo}}

module {{moduleName}}
  class << self
    # Customize default settings for the SDK using block.
    #   {{moduleName}}.configure do |config|
    #     config.username = "xxx"
    #     config.password = "xxx"
    #   end
    # If no block given, return the default Configuration object.
    def configure
      if block_given?
        yield(Configuration.default)
      else
        Configuration.default
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-linstor-client-1.1.1 generator/template/gem.mustache
ruby-linstor-client-1.1.0 generator/template/gem.mustache
ruby-linstor-client-1.0.0 generator/template/gem.mustache