Class: Payme::Request
- Inherits:
-
Object
- Object
- Payme::Request
- Defined in:
- lib/payme/request.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Returns the value of attribute amount.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(amount, options = {}) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(amount, options = {}) ⇒ Request
Returns a new instance of Request.
6 7 8 9 |
# File 'lib/payme/request.rb', line 6 def initialize(amount, = {}) @amount, = amount, .merge() end |
Instance Attribute Details
#amount ⇒ Object (readonly)
Returns the value of attribute amount.
4 5 6 |
# File 'lib/payme/request.rb', line 4 def amount @amount end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/payme/request.rb', line 4 def end |