lib/assaydepot.rb in assaydepot-0.0.4 vs lib/assaydepot.rb in assaydepot-0.0.5

- old
+ new

@@ -1,7 +1,23 @@ require "assaydepot/version" require "assaydepot/configurable" require "assaydepot/client" require "assaydepot/model" -require "assaydepot/ware" -require "assaydepot/provider" require "assaydepot/core" +require "assaydepot/endpoints" +require "assaydepot/event" + +module AssayDepot + class SignatureVerificationError < StandardError + def initialize(msg="Event not properly signed.", exception_type="custom") + @exception_type = exception_type + super(msg) + end + end + + class WebhookError < StandardError + def initialize(msg="Webhook was not applied.", exception_type="custom") + @exception_type = exception_type + super(msg) + end + end +end \ No newline at end of file