Class: AppStoreDevApi::Client::Registry
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- AppStoreDevApi::Client::Registry
- Defined in:
- lib/app_store_dev_api/client/registry.rb
Constant Summary collapse
- OPTIONS =
%i[schema].freeze
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Registry
constructor
A new instance of Registry.
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( = {}) super(.fetch(:schema).web_service_endpoints.map { |s| [s.alias, s] }.to_h) end |