Class: Veriff::Webhooks::WatchlistScreening

Inherits:
Model
  • Object
show all
Extended by:
Veriff::Webhook
Defined in:
lib/veriff/webhooks/watchlist_screening.rb

Instance Method Summary collapse

Methods included from Veriff::Webhook

parse

Methods inherited from Model

api_collection_name, #method_missing, #respond_to_missing?

Constructor Details

#initialize(body) ⇒ WatchlistScreening

Returns a new instance of WatchlistScreening.



8
9
10
11
12
# File 'lib/veriff/webhooks/watchlist_screening.rb', line 8

def initialize(body)
  data_hash = Parser.call(body, :json)
  data_hash.fetch(:attempt_id)
  @data_hash = data_hash
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Veriff::Model