Class: Fastlane::Actions::NotifyAction

Inherits:
Fastlane::Action show all
Defined in:
lib/fastlane/actions/notify.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Fastlane::Action

author, available_options, details, output, sh

Class Method Details

.descriptionObject



11
12
13
# File 'lib/fastlane/actions/notify.rb', line 11

def self.description
  "Shows a Mac OS X notification"
end

.run(params) ⇒ Object



4
5
6
7
8
9
# File 'lib/fastlane/actions/notify.rb', line 4

def self.run(params)
  require 'terminal-notifier'

  text = params.join(' ')
  TerminalNotifier.notify(text, title: 'fastlane')
end

Instance Method Details

#authorObject



15
16
17
# File 'lib/fastlane/actions/notify.rb', line 15

def author
  "champo"
end