Module: ActAsApiClient::Clients::AuthorizeNetNotificationsClient
Constant Summary
ActAsApiClient::Clients::AuthorizeNetWebhooksClient::DEFAULT_OPTIONS
Instance Method Summary
collapse
#initialize
Instance Method Details
#find(uuid) ⇒ Object
22
23
24
25
26
27
|
# File 'lib/act_as_api_client/clients/authorize_net_notifications_client.rb', line 22
def find(uuid)
raise StandardError, "uuid is not provided" if uuid.empty?
get("https://#{base_uri}/rest/v1/notifications/#{uuid}",
headers: { "Authorization" => auth })
end
|
#where(parameters = {}) ⇒ Object
12
13
14
15
16
17
18
19
20
|
# File 'lib/act_as_api_client/clients/authorize_net_notifications_client.rb', line 12
def where(parameters = {})
get("https://#{base_uri}/rest/v1/notifications/",
headers: { "Authorization" => auth },
params: parameters)
end
|