Class: Figo::Notification

Inherits:
Base
  • Object
show all
Defined in:
lib/models.rb

Overview

Object representing a configured notification, e.g. a webhook or email hook

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#dump, dump_attributes, #initialize

Constructor Details

This class inherits a constructor from Figo::Base

Instance Attribute Details

#notification_idString

Internal figo Connect notification ID from the notification registration response

Returns:

  • (String)


383
384
385
# File 'lib/models.rb', line 383

def notification_id
  @notification_id
end

#notify_uriString

Notification messages will be sent to this URL

Returns:

  • (String)


391
392
393
# File 'lib/models.rb', line 391

def notify_uri
  @notify_uri
end

#observe_keyString

One of the notification keys specified in the figo Connect API specification

Returns:

  • (String)


387
388
389
# File 'lib/models.rb', line 387

def observe_key
  @observe_key
end

#stateString

State similiar to sync and logon process. It will passed as POST payload for webhooks

Returns:

  • (String)


395
396
397
# File 'lib/models.rb', line 395

def state
  @state
end