Class: Fastlane::MatchImport::APNSRemoveInvalidFileOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/match_import/apns_remove_invalid_file_options.rb

Class Method Summary collapse

Class Method Details

.available_optionsObject



14
15
16
17
18
19
20
21
22
# File 'lib/fastlane/plugin/match_import/apns_remove_invalid_file_options.rb', line 14

def self.available_options
  all = Fastlane::MatchImport::Options.available_options

  exclude_options.each do |key|
    (i = all.find_index { |item| item.key == key }) && all.delete_at(i)
  end

  return all + custom_options
end

.custom_optionsObject



24
25
26
27
# File 'lib/fastlane/plugin/match_import/apns_remove_invalid_file_options.rb', line 24

def self.custom_options
  [
  ]
end

.exclude_optionsObject



7
8
9
10
11
12
# File 'lib/fastlane/plugin/match_import/apns_remove_invalid_file_options.rb', line 7

def self.exclude_options
  # [: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