Class: Credigy::Installment
- Inherits:
-
Authorized
- Object
- Request
- Authorized
- Credigy::Installment
- Defined in:
- lib/credigy/installment.rb
Instance Attribute Summary collapse
-
#debtor_agreement_id ⇒ Object
readonly
Returns the value of attribute debtor_agreement_id.
Attributes inherited from Authorized
Instance Method Summary collapse
-
#initialize(authorization_token, debtor_agreement_id:) ⇒ Installment
constructor
A new instance of Installment.
- #message ⇒ Object
- #operation ⇒ Object
Methods inherited from Authorized
Methods inherited from Request
#basic_config, #call, #client, #config_options, #extra_config_options, #response, #response_class, #soap_header, #wsdl
Constructor Details
#initialize(authorization_token, debtor_agreement_id:) ⇒ Installment
Returns a new instance of Installment.
8 9 10 11 |
# File 'lib/credigy/installment.rb', line 8 def initialize(, debtor_agreement_id:) @authorization_token = @debtor_agreement_id = debtor_agreement_id end |
Instance Attribute Details
#debtor_agreement_id ⇒ Object (readonly)
Returns the value of attribute debtor_agreement_id.
6 7 8 |
# File 'lib/credigy/installment.rb', line 6 def debtor_agreement_id @debtor_agreement_id end |
Instance Method Details
#message ⇒ Object
17 18 19 |
# File 'lib/credigy/installment.rb', line 17 def { 'cred:debtoragreementid' => debtor_agreement_id } end |
#operation ⇒ Object
13 14 15 |
# File 'lib/credigy/installment.rb', line 13 def operation :get_installments end |