Class: Privat24Api::Card
- Inherits:
-
Object
- Object
- Privat24Api::Card
- Defined in:
- lib/privat24_api/card/card.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Instance Method Summary collapse
- #info ⇒ Object
-
#initialize(**args) ⇒ Card
constructor
A new instance of Card.
- #payment ⇒ Object
Constructor Details
#initialize(**args) ⇒ Card
8 9 10 |
# File 'lib/privat24_api/card/card.rb', line 8 def initialize(**args) @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
6 7 8 |
# File 'lib/privat24_api/card/card.rb', line 6 def args @args end |
Instance Method Details
#info ⇒ Object
12 13 14 |
# File 'lib/privat24_api/card/card.rb', line 12 def info Privat24Api::InfoRequest.new(args) end |
#payment ⇒ Object
16 17 18 |
# File 'lib/privat24_api/card/card.rb', line 16 def payment Privat24Api::PaymentRequest.new(args) end |