Class: Veriff::Webhooks::Event

Inherits:
Model
  • Object
show all
Extended by:
Veriff::Webhook
Defined in:
lib/veriff/webhooks/event.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) ⇒ Event

Returns a new instance of Event.



6
7
8
# File 'lib/veriff/webhooks/event.rb', line 6

def initialize(body)
  super(Parser.call(body, :json))
end

Dynamic Method Handling

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