Class: Freemium::Gateways::Test
- Defined in:
- lib/freemium/gateways/test.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
- #cancel(*args) ⇒ Object
- #charge(*args) ⇒ Object
- #store(*args) ⇒ Object
- #transactions(options = {}) ⇒ Object
- #update(billing_key, *args) ⇒ Object
- #validate(*args) ⇒ Object
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/freemium/gateways/test.rb', line 4 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
4 5 6 |
# File 'lib/freemium/gateways/test.rb', line 4 def username @username end |
Instance Method Details
#cancel(*args) ⇒ Object
26 27 28 |
# File 'lib/freemium/gateways/test.rb', line 26 def cancel(*args) args end |
#charge(*args) ⇒ Object
10 11 12 |
# File 'lib/freemium/gateways/test.rb', line 10 def charge(*args) args end |
#store(*args) ⇒ Object
14 15 16 17 18 |
# File 'lib/freemium/gateways/test.rb', line 14 def store(*args) response = Freemium::Response.new(true) response.billing_key = Time.now.to_i.to_s response end |
#transactions(options = {}) ⇒ Object
6 7 8 |
# File 'lib/freemium/gateways/test.rb', line 6 def transactions( = {}) end |