Class: BugBunny::Controller
- Inherits:
-
Object
- Object
- BugBunny::Controller
- Defined in:
- lib/bug_bunny/controller.rb
Class Method Summary collapse
- .exec_action(message) ⇒ Object
- .health_check(_message) ⇒ Object
- .method_missing(name, message, *args, &block) ⇒ Object
Class Method Details
.exec_action(message) ⇒ Object
7 8 9 |
# File 'lib/bug_bunny/controller.rb', line 7 def self.exec_action() send(.service_action, ) end |
.health_check(_message) ⇒ Object
3 4 5 |
# File 'lib/bug_bunny/controller.rb', line 3 def self.health_check() { status: :success, body: {} } end |
.method_missing(name, message, *args, &block) ⇒ Object
11 12 13 14 |
# File 'lib/bug_bunny/controller.rb', line 11 def self.method_missing(name, , *args, &block) Session. = .(reply_to: .reply_to).server_no_action! end |