class DuffelAPI::Services::WebhooksService::PingResult
Attributes
api_response[R]
Returns the raw API response this resource originated from
@return [APIResponse]
Public Class Methods
new(api_response)
click to toggle source
# File lib/duffel_api/services/webhooks_service.rb, line 12 def initialize(api_response) @api_response = api_response end
Public Instance Methods
succeeded()
click to toggle source
Returns whether the ping was successful. This is always true, because if the ping fails, we raise an error.
@return [Boolean]
# File lib/duffel_api/services/webhooks_service.rb, line 20 def succeeded true end