Class: PayuAPI::Paymethods

Inherits:
Object
  • Object
show all
Defined in:
lib/payu_api/paymethods.rb

Class Method Summary collapse

Class Method Details

.get(client:) ⇒ Object



4
5
6
7
# File 'lib/payu_api/paymethods.rb', line 4

def get(client:)
  request = ApiRequest.new(client, :GET, "/api/v2_1/paymethods")
  PaymethodsResponse.new(http_response: request.call)
end