Class: Bambora::Credentials
- Inherits:
-
Object
- Object
- Bambora::Credentials
- Defined in:
- lib/bambora/credentials.rb
Instance Attribute Summary collapse
-
#merchant_id ⇒ Object
readonly
Returns the value of attribute merchant_id.
-
#reporting_passcode ⇒ Object
readonly
Returns the value of attribute reporting_passcode.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(options = {}) ⇒ Credentials
Returns a new instance of Credentials.
7 8 9 10 |
# File 'lib/bambora/credentials.rb', line 7 def initialize( = {}) @merchant_id = [:merchant_id] @reporting_passcode = [:reporting_passcode] end |
Instance Attribute Details
#merchant_id ⇒ Object (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_passcode ⇒ Object (readonly)
Returns the value of attribute reporting_passcode.
5 6 7 |
# File 'lib/bambora/credentials.rb', line 5 def reporting_passcode @reporting_passcode end |