module Deployinator::Helpers::StackTailHelpers
Public: helper methods to stack tailer
Constants
- 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 BaseIntroduced versions
Public Class Methods
get_stack_tail_version()
click to toggle source
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
# File lib/deployinator/helpers/stack-tail.rb, line 22 def self.get_stack_tail_version STACK_TAIL_VERSION end
Public Instance Methods
stack_tail_version()
click to toggle source
So deployinator can get at this
# File lib/deployinator/helpers/stack-tail.rb, line 15 def stack_tail_version STACK_TAIL_VERSION end
stack_tail_websocket_port()
click to toggle source
Returns the websocket port for the stack tailer
# File lib/deployinator/helpers/stack-tail.rb, line 27 def stack_tail_websocket_port Deployinator.stack_tailer_port end