Class: PlentyClient::Payment::Status

Inherits:
Object
  • Object
show all
Includes:
Endpoint, Request
Defined in:
lib/plenty_client/payment/status.rb

Constant Summary collapse

FIND_PAYMENT_STATUS =
'/payments/status/{statusId}'

Class Method Summary collapse

Methods included from Request

included

Methods included from Endpoint

included

Class Method Details

.find(status_id, headers = {}, &block) ⇒ Object



12
13
14
# File 'lib/plenty_client/payment/status.rb', line 12

def find(status_id, headers = {}, &block)
  get(build_endpoint(FIND_PAYMENT_STATUS, status: status_id), headers, &block)
end