# File lib/active_merchant/billing/gateways/samurai.rb, line 12
      def initialize(options = {})
        begin
          require 'samurai'
        rescue LoadError
          raise "Could not load the samurai gem (>= 0.2.25).  Use `gem install samurai` to install it."
        end

        requires!(options, :login, :password, :processor_token)
        @options = options
        Samurai.options = {
          :merchant_key       => options[:login],
          :merchant_password  => options[:password],
          :processor_token    => options[:processor_token]
        }
      end