lib/monday_ruby.rb in monday_ruby-0.1.0 vs lib/monday_ruby.rb in monday_ruby-0.2.0

- old
+ new

@@ -1,4 +1,17 @@ # frozen_string_literal: true require_relative "monday/client" require_relative "monday/version" + +# Module to configure the library globally +module Monday + module_function + + def configure + yield config + end + + def config + @config ||= Configuration.new + end +end