class Lithic::Resources::Events::Subscriptions
def recover(event_subscription_token, params = {})
- See: Lithic::Models::Events::SubscriptionRecoverParams -
Returns:
-
(nil)
-
Parameters:
-
request_options
(Lithic::RequestOptions, Hash{Symbol=>Object}, nil
) -- -
end_
(Time
) -- Date string in RFC 3339 format. Only entries created before the specified time w -
begin_
(Time
) -- Date string in RFC 3339 format. Only entries created after the specified time wi -
event_subscription_token
(String
) --
Overloads:
-
recover(event_subscription_token, begin_: nil, end_: nil, request_options: {})
def recover(event_subscription_token, params = {}) parsed, options = Lithic::Events::SubscriptionRecoverParams.dump_request(params) @client.request( method: :post, path: ["v1/event_subscriptions/%1$s/recover", event_subscription_token], query: parsed.transform_keys(begin_: "begin", end_: "end"), model: NilClass, options: options ) end