All Downloads are FREE. Search and download functionalities are using the official Maven repository.

crystal.shard_name.mustache Maven / Gradle / Ivy

There is a newer version: 7.6.0
Show newest version
# {{#lambdaPrefixWithHash}}{{> api_info}}{{/lambdaPrefixWithHash}}

# Dependencies
require "crest"
require "log"

module {{moduleName}}
  Log = ::Log.for("{{moduleName}}") # => Log for {{moduleName}} source

  VERSION = {{ `shards version #{__DIR__}`.chomp.stringify }}

  # Return the default `Configuration` object.
  def self.configure
    Configuration.default
  end

  # Customize default settings for the SDK using block.
  #
  # ```
  # {{moduleName}}.configure do |config|
  #   config.username = "xxx"
  #   config.password = "xxx"
  # end
  # ```
  def self.configure
    yield Configuration.default
  end
end

require "./{{shardName}}/**"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy