Class: Beanstreamy::Config
- Inherits:
-
Object
- Object
- Beanstreamy::Config
- Defined in:
- lib/beanstreamy.rb
Instance Attribute Summary collapse
-
#approved_url ⇒ Object
Returns the value of attribute approved_url.
-
#declined_url ⇒ Object
Returns the value of attribute declined_url.
-
#error_url ⇒ Object
Returns the value of attribute error_url.
-
#hash_key ⇒ Object
Returns the value of attribute hash_key.
-
#merchant_id ⇒ Object
Returns the value of attribute merchant_id.
-
#payment_url ⇒ Object
Returns the value of attribute payment_url.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 |
# File 'lib/beanstreamy.rb', line 5 def initialize @payment_url = "https://www.beanstream.com/scripts/payment/payment.asp" end |
Instance Attribute Details
#approved_url ⇒ Object
Returns the value of attribute approved_url.
3 4 5 |
# File 'lib/beanstreamy.rb', line 3 def approved_url @approved_url end |
#declined_url ⇒ Object
Returns the value of attribute declined_url.
3 4 5 |
# File 'lib/beanstreamy.rb', line 3 def declined_url @declined_url end |
#error_url ⇒ Object
Returns the value of attribute error_url.
3 4 5 |
# File 'lib/beanstreamy.rb', line 3 def error_url @error_url end |
#hash_key ⇒ Object
Returns the value of attribute hash_key.
3 4 5 |
# File 'lib/beanstreamy.rb', line 3 def hash_key @hash_key end |
#merchant_id ⇒ Object
Returns the value of attribute merchant_id.
3 4 5 |
# File 'lib/beanstreamy.rb', line 3 def merchant_id @merchant_id end |
#payment_url ⇒ Object
Returns the value of attribute payment_url.
3 4 5 |
# File 'lib/beanstreamy.rb', line 3 def payment_url @payment_url end |