Class: Fastlane::Actions::GithubStatusAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::GithubStatusAction
- Defined in:
- lib/fastlane/plugin/github_status/actions/github_status_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .client ⇒ Object
-
.client=(client) ⇒ Object
Used to override the Client for testing.
- .description ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .run(params) ⇒ Object
- .ui ⇒ Object
-
.ui=(ui) ⇒ Object
Used to override the UI for testing.
Class Method Details
.authors ⇒ Object
12 13 14 |
# File 'lib/fastlane/plugin/github_status/actions/github_status_action.rb', line 12 def self. ['Michael Furtak'] end |
.available_options ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/fastlane/plugin/github_status/actions/github_status_action.rb', line 16 def self. [ # FastlaneCore::ConfigItem.new(key: :your_option, # env_name: "GITHUB_STATUS_YOUR_OPTION", # description: "A description of your option", # optional: false, # type: String) ] end |
.client ⇒ Object
48 49 50 |
# File 'lib/fastlane/plugin/github_status/actions/github_status_action.rb', line 48 def self.client @client ||= Plugin::GitHubStatus::Client.new end |
.client=(client) ⇒ Object
Used to override the Client for testing
44 45 46 |
# File 'lib/fastlane/plugin/github_status/actions/github_status_action.rb', line 44 def self.client=(client) @client = client end |
.description ⇒ Object
8 9 10 |
# File 'lib/fastlane/plugin/github_status/actions/github_status_action.rb', line 8 def self.description 'Provides the ability to check on GitHub server status as part of your build' end |
.is_supported?(platform) ⇒ Boolean
26 27 28 |
# File 'lib/fastlane/plugin/github_status/actions/github_status_action.rb', line 26 def self.is_supported?(platform) true end |
.run(params) ⇒ Object
4 5 6 |
# File 'lib/fastlane/plugin/github_status/actions/github_status_action.rb', line 4 def self.run(params) ui.(client.) end |
.ui ⇒ Object
39 40 41 |
# File 'lib/fastlane/plugin/github_status/actions/github_status_action.rb', line 39 def self.ui @ui ||= Plugin::GitHubStatus::UI.new end |
.ui=(ui) ⇒ Object
Used to override the UI for testing
35 36 37 |
# File 'lib/fastlane/plugin/github_status/actions/github_status_action.rb', line 35 def self.ui=(ui) @ui = ui end |