Sha256: 1ffe528f280236902bdeef8ffeef808528470031e3418666c81f5c9d5412e4c7

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

require_relative './data/attributes'

module AppStoreConnect
  class BundleIdCreateRequest
    class Data
      TYPE = 'bundleIds'

      attr_reader :attributes

      def initialize(*args)
        @attributes = Attributes.new(*args)
      end

      def type
        TYPE
      end

      def to_h
        {
          attributes: attributes.to_h,
          type: type
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
app_store_connect-0.6.0 lib/app_store_connect/bundle_id_create_request/data.rb
app_store_connect-0.5.0 lib/app_store_connect/bundle_id_create_request/data.rb