Class: AppStoreConnect::Client::Registry

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/app_store_connect/client/registry.rb

Constant Summary collapse

OPTIONS =
%i[schema].freeze

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Registry

Returns a new instance of Registry.



10
11
12
# File 'lib/app_store_connect/client/registry.rb', line 10

def initialize(options = {})
  super(options.fetch(:schema).web_service_endpoints.map { |s| [s.alias, s] }.to_h)
end