crystal.shard_name.mustache Maven / Gradle / Ivy
# {{#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}}/**"