Sha256: 092ea0cf44ae437007b37b9f449d0c04a5112e21747ac3e0da1c3e688a636abe

Contents?: true

Size: 313 Bytes

Versions: 9

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

require 'delegate'

module AppStoreDevApi
  class Client
    class Registry < SimpleDelegator
      OPTIONS = %i[schema].freeze

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
app_store_dev_api-0.1.9 lib/app_store_dev_api/client/registry.rb
app_store_dev_api-0.1.8 lib/app_store_dev_api/client/registry.rb
app_store_dev_api-0.1.7 lib/app_store_dev_api/client/registry.rb
app_store_dev_api-0.1.6 lib/app_store_dev_api/client/registry.rb
app_store_dev_api-0.1.4 lib/app_store_dev_api/client/registry.rb
app_store_dev_api-0.1.3 lib/app_store_dev_api/client/registry.rb
app_store_dev_api-0.1.2 lib/app_store_dev_api/client/registry.rb
app_store_dev_api-0.1.1 lib/app_store_dev_api/client/registry.rb
app_store_dev_api-0.1.0 lib/app_store_dev_api/client/registry.rb