class Fastlane::ControlCommand
Represents a command that is meant to signal the server to do something on the client’s behalf Examples are: :cancelFastlaneRune, and :done
Attributes
Public Class Methods
Source
# File fastlane/lib/fastlane/server/control_command.rb, line 9 def initialize(json: nil) @command = json['command'].to_sym @user_message = json['userMessage'] @reason = json['reason'].to_sym if json['reason'] end
Public Instance Methods
Source
# File fastlane/lib/fastlane/server/control_command.rb, line 15 def cancel_signal? return @command == :cancelFastlaneRun end
Source
# File fastlane/lib/fastlane/server/control_command.rb, line 19 def done_signal? return @command == :done end