Sha256: a45b30a38af244d022388487913e6a2750821c4b1ee7a4916af8f48fb6833014
Contents?: true
Size: 822 Bytes
Versions: 4
Compression:
Stored size: 822 Bytes
Contents
require_relative "../base.rb" module Figo # Object representing a configured notification, e.g. a webhook or email hook class Notification < Base @dump_attributes = [:observe_key, :notify_uri, :state] def initialize(session, json) super(session, json) end # Internal figo Connect notification ID from the notification registration response # @return [String] attr_accessor :notification_id # One of the notification keys specified in the figo Connect API specification # @return [String] attr_accessor :observe_key # Notification messages will be sent to this URL # @return [String] attr_accessor :notify_uri # State similiar to sync and logon process. It will passed as POST payload for webhooks # @return [String] attr_accessor :state end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
figo-1.4.2 | lib/notification/model.rb |
figo-1.4.1 | lib/notification/model.rb |
figo-1.4.0 | lib/notification/model.rb |
figo-1.3.3 | lib/notification/model.rb |