Class: Bambora::Credentials

Inherits:
Object
  • Object
show all
Defined in:
lib/bambora/credentials.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Credentials

Returns a new instance of Credentials.



7
8
9
10
# File 'lib/bambora/credentials.rb', line 7

def initialize(options = {})
  @merchant_id = options[:merchant_id]
  @reporting_passcode = options[:reporting_passcode]
end

Instance Attribute Details

#merchant_idObject (readonly)

Returns the value of attribute merchant_id.



5
6
7
# File 'lib/bambora/credentials.rb', line 5

def merchant_id
  @merchant_id
end

#reporting_passcodeObject (readonly)

Returns the value of attribute reporting_passcode.



5
6
7
# File 'lib/bambora/credentials.rb', line 5

def reporting_passcode
  @reporting_passcode
end