diff --git a/lib/bambora/client.rb b/lib/bambora/client.rb index d6d7587..0f269a2 100644 --- a/lib/bambora/client.rb +++ b/lib/bambora/client.rb @@ -12,6 +12,7 @@ require 'multiparty' # Multipart/mixed requests require 'bambora/client/version' +require 'bambora/credentials' # Adapters require 'bambora/adapters/response' diff --git a/lib/bambora/credentials.rb b/lib/bambora/credentials.rb new file mode 100644 index 0000000..2082263 --- /dev/null +++ b/lib/bambora/credentials.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module Bambora + class Credentials + attr_reader :merchant_id, :reporting_passcode + + def initialize(options = {}) + @merchant_id = options[:merchant_id] + @reporting_passcode = options[:reporting_passcode] + end + end +end