lib/pipekit/config.rb in pipekit-1.0.0 vs lib/pipekit/config.rb in pipekit-1.0.1
- old
+ new
@@ -67,9 +67,13 @@
def fetch(key, default = nil)
config.fetch(key.to_s, default)
end
+ def set(key, value)
+ config[key.to_s] = value
+ end
+
def custom_fields(resource)
fetch("fields", {})
.fetch(resource.to_s, {})
end