Class: Assently::CaseEventSubscription

Inherits:
Object
  • Object
show all
Defined in:
lib/assently/case_event_subscription.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(events, url) ⇒ CaseEventSubscription

Returns a new instance of CaseEventSubscription.



9
10
11
12
# File 'lib/assently/case_event_subscription.rb', line 9

def initialize(events, url)
  self.events = events
  @url = url
end

Instance Attribute Details

#eventsObject

Returns the value of attribute events.



3
4
5
# File 'lib/assently/case_event_subscription.rb', line 3

def events
  @events
end

#urlObject (readonly)

Returns the value of attribute url.



3
4
5
# File 'lib/assently/case_event_subscription.rb', line 3

def url
  @url
end

Class Method Details

.eventsObject



5
6
7
# File 'lib/assently/case_event_subscription.rb', line 5

def self.events
  [ "created", "sent", "recalled", "finished", "rejected", "expired", "deleted", "signatureadded", "approvalrequested", "reminded" ]
end