lib/castle_devise/configuration.rb in castle_devise-0.3.0 vs lib/castle_devise/configuration.rb in castle_devise-0.4.1

- old
+ new

@@ -37,9 +37,17 @@ # @!attribute after_request_hooks # @return [Array<Proc>] Array of procs that will get called after a request to the Castle API config_accessor(:after_request_hooks) { [] } + # @!attribute castle_sdk_facade_class + # @return [Class] Castle API implementation + config_accessor(:castle_sdk_facade_class) { ::CastleDevise::SdkFacade } + + # @!attribute castle_client + # @return [Class] Castle SDK client + config_accessor(:castle_client) { ::Castle::Client.new } + # Adds a new before_request hook # @param blk [Proc] def before_request(&blk) before_request_hooks << blk end