Module: Deployinator::Helpers::StackTailHelpers
- Included in:
- Views::Layout
- Defined in:
- lib/deployinator/helpers/stack-tail.rb
Overview
Public: helper methods to stack tailer
Constant Summary collapse
- STACK_TAIL_VERSION =
This is used to make sure the front end javascript loaded matches the same backend code for the deployinator tailer. Increment this only if you make protocol changes for the tailer
Version format: Stack Tailer 1.X - meme name History: 1.0 - All Your Base
Introduced versions "Stack Tailer 1.0 - All Your Base"
Class Method Summary collapse
-
.get_stack_tail_version ⇒ Object
This is so the tailer can access this method without having to send() the method into scope.
Instance Method Summary collapse
-
#stack_tail_version ⇒ Object
So deployinator can get at this.
-
#stack_tail_websocket_port ⇒ Object
Returns the websocket port for the stack tailer.
Class Method Details
.get_stack_tail_version ⇒ Object
This is so the tailer can access this method without having to send() the method into scope. If there is a better way to do this please let me know
22 23 24 |
# File 'lib/deployinator/helpers/stack-tail.rb', line 22 def self.get_stack_tail_version STACK_TAIL_VERSION end |
Instance Method Details
#stack_tail_version ⇒ Object
So deployinator can get at this
15 16 17 |
# File 'lib/deployinator/helpers/stack-tail.rb', line 15 def stack_tail_version STACK_TAIL_VERSION end |
#stack_tail_websocket_port ⇒ Object
Returns the websocket port for the stack tailer
27 28 29 |
# File 'lib/deployinator/helpers/stack-tail.rb', line 27 def stack_tail_websocket_port Deployinator.stack_tailer_port end |