Sha256: 0c117c53b198095316a25ce35c6d9effe06df4469b5af7e12d6281c56497831b
Contents?: true
Size: 489 Bytes
Versions: 3
Compression:
Stored size: 489 Bytes
Contents
module PlaidRails class Webhook < ActiveRecord::Base # validates :code, presence: true # validates :message, presence: true # validates :access_token, presence: true # validates :webhook_type, presence: true # validates :webhook_code, presence: true # validates :item_id, presence: true serialize :removed_transactons, Array after_save :event private def event PlaidRails::Event.instrument(self) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
plaid_rails-0.13.0 | app/models/plaid_rails/webhook.rb |
plaid_rails-0.12.0 | app/models/plaid_rails/webhook.rb |
plaid_rails-0.11.0 | app/models/plaid_rails/webhook.rb |