Sha256: 22ba458937c948501ccb63bec1621c54604bdd3ff8b0cbbb35506bc6241d8e18
Contents?: true
Size: 567 Bytes
Versions: 4
Compression:
Stored size: 567 Bytes
Contents
class Lono::Builder::Allow class Region < Base include Lono::Concerns::AwsInfo # interface method def message messages = [] word = config_name.to_s # IE: regions or locations messages << "This #{word.singularize} is not allowed to be used: Detected current #{word.singularize}=#{current_region}" messages << "Allow #{word}: #{allows.join(', ')}" if allows messages << "Deny #{word}: #{denys.join(', ')}" if denys messages.join("\n") end # interface method def check_value region end end end
Version data entries
4 entries across 4 versions & 1 rubygems