Class: Fastlane::MatchImport::APNSExportFileOptions
- Inherits:
-
Object
- Object
- Fastlane::MatchImport::APNSExportFileOptions
- Defined in:
- lib/fastlane/plugin/match_import/apns_export_file_options.rb
Class Method Summary collapse
Class Method Details
.available_options ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/fastlane/plugin/match_import/apns_export_file_options.rb', line 14 def self. all = Fastlane::MatchImport::Options. .each do |key| (i = all.find_index { |item| item.key == key }) && all.delete_at(i) end return all + end |
.custom_options ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/fastlane/plugin/match_import/apns_export_file_options.rb', line 24 def self. destination_path_index = Fastlane::MatchImport::CustomFileOptions..find_index { |item| item.key == :destination_path } destination_path = Fastlane::MatchImport::CustomFileOptions.[destination_path_index] if destination_path_index destination_path_array = destination_path.nil? ? [] : [destination_path] [ ] + destination_path_array end |
.exclude_options ⇒ Object
7 8 9 10 11 12 |
# File 'lib/fastlane/plugin/match_import/apns_export_file_options.rb', line 7 def self. # [:keychain_name, :keychain_password] # Don't know how to exclude unused options and don't get error like: # Could not find option 'type' in the list of available options [] end |