lib/ragoon/services.rb in ragoon-1.0.0 vs lib/ragoon/services.rb in ragoon-1.1.0
- old
+ new
@@ -5,10 +5,10 @@
workflow: '/cbpapi/workflow/api.csp?',
}.freeze
attr_reader :client, :action_type
- def initialize(options = Ragoon.default_options)
+ def initialize(options = Ragoon.secret_options)
@options = options
@action_type = self.class.name.split('::').pop.downcase.to_sym
@client = Ragoon::Client.new(self.endpoint, options)
end