Class: Fastlane::Actions::PoeditorExportAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::PoeditorExportAction
- Defined in:
- lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
12 13 14 |
# File 'lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb', line 12 def self. ["James Campbell"] end |
.available_options ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb', line 16 def self. [ # FastlaneCore::ConfigItem.new(key: :your_option, # env_name: "POEDITOR_EXPORT_YOUR_OPTION", # description: "A description of your option", # optional: false, # type: String) ] end |
.description ⇒ Object
8 9 10 |
# File 'lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb', line 8 def self.description "Exports translations from POEditor.com" end |
.is_supported?(platform) ⇒ Boolean
26 27 28 29 30 31 32 |
# File 'lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb', line 26 def self.is_supported?(platform) # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example) # See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md # # [:ios, :mac, :android].include?(platform) true end |
.run(params) ⇒ Object
4 5 6 |
# File 'lib/fastlane/plugin/poeditor_export/actions/poeditor_export_action.rb', line 4 def self.run(params) UI.("The poeditor_export plugin is working!") end |