File: registry.rb

package info (click to toggle)
ruby-app-store-connect 0.37.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 444 kB
  • sloc: ruby: 856; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 314 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'delegate'

module AppStoreConnect
  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