Class: Beanstreamy::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_urlObject

Returns the value of attribute approved_url.



3
4
5
# File 'lib/beanstreamy.rb', line 3

def approved_url
  @approved_url
end

#declined_urlObject

Returns the value of attribute declined_url.



3
4
5
# File 'lib/beanstreamy.rb', line 3

def declined_url
  @declined_url
end

#error_urlObject

Returns the value of attribute error_url.



3
4
5
# File 'lib/beanstreamy.rb', line 3

def error_url
  @error_url
end

#hash_keyObject

Returns the value of attribute hash_key.



3
4
5
# File 'lib/beanstreamy.rb', line 3

def hash_key
  @hash_key
end

#merchant_idObject

Returns the value of attribute merchant_id.



3
4
5
# File 'lib/beanstreamy.rb', line 3

def merchant_id
  @merchant_id
end

#payment_urlObject

Returns the value of attribute payment_url.



3
4
5
# File 'lib/beanstreamy.rb', line 3

def payment_url
  @payment_url
end