Sha256: fca7521ab4900ecf0901c08cbf6a1f0facd22a4a7b792a2e2941c251c6876467
Contents?: true
Size: 714 Bytes
Versions: 3
Compression:
Stored size: 714 Bytes
Contents
require_relative '../../common/jsonifier' module MangoModel # Hook entity # Once setup, a hook entity allows MangoPay to make a request # to a specific URL on the implementing server to make it aware # of various Events (i.e. a failed PayOut). One URL can be # configured for each +EventType+. class Hook < EntityBase include MangoPay::Jsonifier # [String] The URL that will be pinged for events of the # specified type attr_accessor :url # [HookStatus] Whether or not the hook is enabled attr_accessor :status # [HookValidity] Whether or not the hook is valid attr_accessor :validity # [EventType] Type of event handled attr_accessor :event_type end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mangopay-v4-4.1.0 | lib/mangopay/model/entity/hook.rb |
mangopay-v4-4.0.2 | lib/mangopay/model/entity/hook.rb |
mangopay-v4-4.0.1 | lib/mangopay/model/entity/hook.rb |