Class: Fastlane::Actions::SqCiToolsRuStoreSendToReviewAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::SqCiToolsRuStoreSendToReviewAction
- Defined in:
- lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_ru_store_send_to_review_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(_) ⇒ Boolean
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
45 46 47 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_ru_store_send_to_review_action.rb', line 45 def self. ['Semen Kologrivov'] end |
.available_options ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_ru_store_send_to_review_action.rb', line 30 def self. [ FastlaneCore::ConfigItem.new( key: :draft_id, description: 'Identifier of RuStore app draft', optional: false, type: String, default_value: Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::SQ_CI_RU_STORE_DRAFT_ID], default_value_dynamic: true ) ] + Options::RuStore. + Options::Shared. end |
.description ⇒ Object
22 23 24 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_ru_store_send_to_review_action.rb', line 22 def self.description 'Send app draft to RuStore\'s review' end |
.details ⇒ Object
26 27 28 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_ru_store_send_to_review_action.rb', line 26 def self.details '' end |
.is_supported?(_) ⇒ Boolean
49 50 51 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_ru_store_send_to_review_action.rb', line 49 def self.is_supported?(_) true end |
.run(params) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fastlane/plugin/sq_ci_tools/actions/sq_ci_tools_ru_store_send_to_review_action.rb', line 8 def self.run(params) token = params[:token] package_name = params[:package_name] draft_id = params[:draft_id] timeout = params[:timeout] Helper::RuStoreHelper.send_to_review( token: token, package_name: package_name, draft_id: draft_id, timeout: timeout ) end |