lib/rollbar_helper.rb in rollbar_helper-0.0.2 vs lib/rollbar_helper.rb in rollbar_helper-0.0.3

- old
+ new

@@ -1,7 +1,7 @@ class RollbarHelper - VERSION = "0.0.2" + VERSION = "0.0.3" class << self def error(obj, fingerprint: nil) e = nil @@ -15,9 +15,15 @@ if fingerprint.present? Rollbar.scope(:fingerprint => fingerprint).error(e) else Rollbar.error(e) + end + end + + def configure + Rollbar.configure do |config| + yield(config) end end end end