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
- #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
21 22 23 24 |
# File 'lib/event_people/broker/context.rb', line 21 def fail! warn '[DEPRECATED] EventPeople: `fail!` is deprecated, use `fail` instead. Will be removed in a future version.' self.fail 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
26 27 28 29 |
# File 'lib/event_people/broker/context.rb', line 26 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
16 17 18 19 |
# File 'lib/event_people/broker/context.rb', line 16 def success! warn '[DEPRECATED] EventPeople: `success!` is deprecated, use `success` instead. Will be removed in a future version.' success end |