Class: Figo::Notification
Overview
Object representing a configured notification, e.g. a webhook or email hook
Instance Attribute Summary collapse
-
#notification_id ⇒ String
Internal figo Connect notification ID from the notification registration response.
-
#notify_uri ⇒ String
Notification messages will be sent to this URL.
-
#observe_key ⇒ String
One of the notification keys specified in the figo Connect API specification.
-
#state ⇒ String
State similiar to sync and logon process.
Instance Method Summary collapse
-
#initialize(session, json) ⇒ Notification
constructor
A new instance of Notification.
Methods inherited from Base
Constructor Details
#initialize(session, json) ⇒ Notification
Returns a new instance of Notification.
7 8 9 |
# File 'lib/notification/model.rb', line 7 def initialize(session, json) super(session, json) end |
Instance Attribute Details
#notification_id ⇒ String
Internal figo Connect notification ID from the notification registration response
13 14 15 |
# File 'lib/notification/model.rb', line 13 def notification_id @notification_id end |
#notify_uri ⇒ String
Notification messages will be sent to this URL
21 22 23 |
# File 'lib/notification/model.rb', line 21 def notify_uri @notify_uri end |
#observe_key ⇒ String
One of the notification keys specified in the figo Connect API specification
17 18 19 |
# File 'lib/notification/model.rb', line 17 def observe_key @observe_key end |
#state ⇒ String
State similiar to sync and logon process. It will passed as POST payload for webhooks
25 26 27 |
# File 'lib/notification/model.rb', line 25 def state @state end |