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.9.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 }}

  # 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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy