Class: AppStoreDevApi::Client::Registry

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/app_store_dev_api/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_dev_api/client/registry.rb', line 10

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