Class: Yoomoney::Resources::SbpBanks
- Inherits:
-
Object
- Object
- Yoomoney::Resources::SbpBanks
- Defined in:
- lib/yoomoney/resources/sbp_banks.rb
Instance Method Summary collapse
-
#initialize(client:) ⇒ SbpBanks
constructor
private
A new instance of SbpBanks.
-
#list(request_options: {}) ⇒ Yoomoney::Models::SbpBankListResponse
Список участников СБП.
Constructor Details
#initialize(client:) ⇒ SbpBanks
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of SbpBanks.
27 28 29 |
# File 'lib/yoomoney/resources/sbp_banks.rb', line 27 def initialize(client:) @client = client end |
Instance Method Details
#list(request_options: {}) ⇒ Yoomoney::Models::SbpBankListResponse
Список участников СБП
15 16 17 18 19 20 21 22 |
# File 'lib/yoomoney/resources/sbp_banks.rb', line 15 def list(params = {}) @client.request( method: :get, path: "sbp_banks", model: Yoomoney::Models::SbpBankListResponse, options: params[:request_options] ) end |