Method: FIR::Util::ClassMethods#check_logined
- Defined in:
- lib/fir/util.rb
#check_logined ⇒ Object
64 65 66 67 68 69 |
# File 'lib/fir/util.rb', line 64 def check_logined return unless current_token.blank? logger.error 'Please use `fir login` first' exit 1 end |