Sha256: fb6c5cc43ec3d7406f3c98754ba1e5184155b42ae328cfe557e77fa7fff389d0

Contents?: true

Size: 799 Bytes

Versions: 41

Compression:

Stored size: 799 Bytes

Contents

=begin
{{> api_info}}
=end

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

# Models
{{#models}}
{{#model}}
require '{{gemName}}/{{modelPackage}}/{{classFilename}}'{{/model}}
{{/models}}

# 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

41 entries across 40 versions & 3 rubygems

Version Path
mux_ruby-3.20.0 gen/templates/gem.mustache
mux_ruby-3.19.0 gen/templates/gem.mustache
mux_ruby-3.18.0 gen/templates/gem.mustache
mux_ruby-3.17.0 gen/templates/gem.mustache
mux_ruby-3.15.0 gen/templates/gem.mustache
mux_ruby-3.14.0 gen/templates/gem.mustache
mux_ruby-3.13.0 gen/templates/gem.mustache
mux_ruby-3.12.0 gen/templates/gem.mustache
mux_ruby-3.11.1 gen/templates/gem.mustache
mux_ruby-3.11.0 gen/templates/gem.mustache
mux_ruby-3.9.0 gen/templates/gem.mustache
mux_ruby-3.8.0 gen/templates/gem.mustache
mux_ruby-3.7.0 gen/templates/gem.mustache
mux_ruby-3.6.0 gen/templates/gem.mustache
mux_ruby-3.5.2 gen/templates/gem.mustache
mux_ruby-3.5.1 gen/templates/gem.mustache
mux_ruby-3.5.0 gen/templates/gem.mustache
mux_ruby-3.4.0 gen/templates/gem.mustache
mux_ruby-3.3.1 gen/templates/gem.mustache
mux_ruby-3.3.0 gen/templates/gem.mustache