lib/braze_ruby/rest/base.rb in braze_ruby-0.3.2 vs lib/braze_ruby/rest/base.rb in braze_ruby-0.3.3

- old
+ new

@@ -5,17 +5,18 @@ module BrazeRuby module REST class Base attr_writer :http - def initialize(braze_url) + def initialize(braze_url, options) @braze_url = braze_url + @options = options end private def http - @http ||= BrazeRuby::HTTP.new(@braze_url) + @http ||= BrazeRuby::HTTP.new(@braze_url, @options) end end end end