lib/truelayer/webhook_payload.rb in truelayer-0.1.0 vs lib/truelayer/webhook_payload.rb in truelayer-0.1.1
- old
+ new
@@ -3,11 +3,11 @@
require 'truelayer/base_model'
module Truelayer
class WebhookPayload < BaseModel
attributes :request_timestamp, :request_uri,
- :credentials_id, :results_uri, :status, :task_id,
- :error, :error_description
+ :credentials_id, :results_uri, :status, :task_id,
+ :error, :error_description
def success?
status == 'Succeeded'
end
end