Sha256: 370c9ae5990e3c4a4cab2047bcae03e7438db8fe8b5adaa9c0edf228ac2da07c

Contents?: true

Size: 445 Bytes

Versions: 4

Compression:

Stored size: 445 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_hash
        {
          attributes: attributes.to_hash,
          type: type
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
app_store_connect-0.4.0 lib/app_store_connect/bundle_id_create_request/data.rb
app_store_connect-0.3.2 lib/app_store_connect/bundle_id_create_request/data.rb
app_store_connect-0.3.1 lib/app_store_connect/bundle_id_create_request/data.rb
app_store_connect-0.3.0 lib/app_store_connect/bundle_id_create_request/data.rb