Module: MangoApi::Repudiations

Extended by:
UriProvider
Defined in:
lib/mangopay/api/service/repudiations.rb

Overview

Provides API method delegates concerning the Repudiation entity

Class Method Summary collapse

Methods included from UriProvider

provide_uri

Class Method Details

.get(id) ⇒ Repudiation

Retrieves a repudiation entity.

Parameters:

  • +id+ (String)

    ID of the repudiation to retrieve

Returns:

  • (Repudiation)

    the requested Repudiation entity object



14
15
16
17
18
# File 'lib/mangopay/api/service/repudiations.rb', line 14

def get(id)
  uri = provide_uri(:get_repudiation, id)
  response = HttpClient.get(uri)
  parse response
end