class Gmaps::Config

Included Modules

Defined in:

gmaps/config.cr

Constant Summary

DEFAULT_EDITOR = "nano"

Determine the default editor for non-Windows platforms

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(gmaps_api_key : String) #

[View source]

Class Method Detail

def self.load_from_config(config_dir : String | Nil = nil) #

load key using ConfigLoader


[View source]

Instance Method Detail

def gmaps_api_key : String #

[View source]
def gmaps_api_key=(gmaps_api_key : String) #

[View source]