Sha256: 9fd5812ac44352b56817450dd69d43b45d9f6646b087abe7b0dc7729e0a71b18
Contents?: true
Size: 543 Bytes
Versions: 2
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true module GrafanaAnnotations class Config < Dry::Struct attribute(:grafana_base_url, Types::Strict::String) attribute?(:grafana_authorization, Types::Strict::String.optional) attribute(:logger, Types::Nominal::Any.default { Logger.new(IO::NULL) }) attribute(:faraday_config, Types::Nominal::Any.default { ->(_c) {} }) attribute(:rake_tags, Types::Strict::Array.of(Types::Coercible::String).default { [] }) attribute(:rake_text_prefix, Types::Strict::String.default('Rake task')) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grafana_annotations-0.1.1 | lib/grafana_annotations/config.rb |
grafana_annotations-0.1.0 | lib/grafana_annotations/config.rb |