Class: Fastlane::Actions::IconBannerRestoreAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::IconBannerRestoreAction
- Defined in:
- lib/fastlane/plugin/icon_banner/actions/icon_banner_restore_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .description ⇒ Object
- .example_code ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
16 17 18 |
# File 'lib/fastlane/plugin/icon_banner/actions/icon_banner_restore_action.rb', line 16 def self. ['ebelair'] end |
.description ⇒ Object
12 13 14 |
# File 'lib/fastlane/plugin/icon_banner/actions/icon_banner_restore_action.rb', line 12 def self.description 'Restores the original app icons (can be used after build to clean up the repository)' end |
.example_code ⇒ Object
20 21 22 23 24 |
# File 'lib/fastlane/plugin/icon_banner/actions/icon_banner_restore_action.rb', line 20 def self.example_code [ 'icon_banner_restore()' ] end |
.is_supported?(platform) ⇒ Boolean
26 27 28 |
# File 'lib/fastlane/plugin/icon_banner/actions/icon_banner_restore_action.rb', line 26 def self.is_supported?(platform) [:ios, :android].include?(platform) end |
.run(params) ⇒ Object
7 8 9 10 |
# File 'lib/fastlane/plugin/icon_banner/actions/icon_banner_restore_action.rb', line 7 def self.run(params) Actions.verify_gem!('icon-banner') Helper::IconBannerHelper.restore end |