Class: Assently::CaseEventSubscription
- Inherits:
-
Object
- Object
- Assently::CaseEventSubscription
- Defined in:
- lib/assently/case_event_subscription.rb
Instance Attribute Summary collapse
-
#events ⇒ Object
Returns the value of attribute events.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(events, url) ⇒ CaseEventSubscription
constructor
A new instance of CaseEventSubscription.
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
#events ⇒ Object
Returns the value of attribute events.
3 4 5 |
# File 'lib/assently/case_event_subscription.rb', line 3 def events @events end |
#url ⇒ Object (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
.events ⇒ Object
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 |