Class: EventPeople::Broker::Context
- Inherits:
-
Object
- Object
- EventPeople::Broker::Context
- Defined in:
- lib/event_people/broker/context.rb
Direct Known Subclasses
Instance Method Summary collapse
- #fail ⇒ Object
- #fail! ⇒ Object
- #is_last_retry ⇒ Object
- #max_retries ⇒ Object
- #reject ⇒ Object
- #reject! ⇒ Object
- #success ⇒ Object
- #success! ⇒ Object
Instance Method Details
#fail ⇒ Object
8 9 10 |
# File 'lib/event_people/broker/context.rb', line 8 def fail raise NotImplementedError.new('Must be implemented') end |
#fail! ⇒ Object
29 30 31 32 |
# File 'lib/event_people/broker/context.rb', line 29 def fail! warn '[DEPRECATED] EventPeople: `fail!` is deprecated, use `fail` instead. Will be removed in a future version.' self.fail end |
#is_last_retry ⇒ Object
20 21 22 |
# File 'lib/event_people/broker/context.rb', line 20 def is_last_retry raise NotImplementedError.new('Must be implemented') end |
#max_retries ⇒ Object
16 17 18 |
# File 'lib/event_people/broker/context.rb', line 16 def max_retries raise NotImplementedError.new('Must be implemented') end |
#reject ⇒ Object
12 13 14 |
# File 'lib/event_people/broker/context.rb', line 12 def reject raise NotImplementedError.new('Must be implemented') end |
#reject! ⇒ Object
34 35 36 37 |
# File 'lib/event_people/broker/context.rb', line 34 def reject! warn '[DEPRECATED] EventPeople: `reject!` is deprecated, use `reject` instead. Will be removed in a future version.' reject end |
#success ⇒ Object
4 5 6 |
# File 'lib/event_people/broker/context.rb', line 4 def success raise NotImplementedError.new('Must be implemented') end |
#success! ⇒ Object
24 25 26 27 |
# File 'lib/event_people/broker/context.rb', line 24 def success! warn '[DEPRECATED] EventPeople: `success!` is deprecated, use `success` instead. Will be removed in a future version.' success end |