Sha256: 56f1cd9e89e3543c6fedabce833a1f6f4628720a1ac802a4f369744f71281d94
Contents?: true
Size: 739 Bytes
Versions: 1
Compression:
Stored size: 739 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mangopay-v4-4.0.0 | lib/mangopay/model/entity/hook.rb |