Sha256: 2f8b51aa691c2d3d1ed366388599fcd88eb9eba37a8e4721541bafd440dc425c
Contents?: true
Size: 432 Bytes
Versions: 5
Compression:
Stored size: 432 Bytes
Contents
# frozen_string_literal: true module AppStoreConnect class Parser def self.parse!(config) parse_types(config['Type']) end def self.parse_types(types) types.each do |name, options| type = options.delete('type') klass = Factory.build(type, options.deep_symbolize_keys) AppStoreConnect::Type.const_set(name, klass) end end private_class_method :parse_types end end
Version data entries
5 entries across 5 versions & 1 rubygems