Sha256: 953d3109d5f13e62a8d9a88ff8133b5084aa6728aa493eddee674cd3c36e42cd

Contents?: true

Size: 601 Bytes

Versions: 4

Compression:

Stored size: 601 Bytes

Contents

# frozen_string_literal: true

module AppStoreConnect
  class BundleIdCreateRequest
    class Data
      class Attributes
        attr_accessor :identifier, :name, :platform, :seed_id

        def initialize(identifier:, name:, platform:, seed_id:)
          self.identifier = identifier
          self.name = name
          self.platform = platform
          self.seed_id = seed_id
        end

        def to_hash
          {
            identifier: identifier,
            name: name,
            platform: platform,
            seed_id: seed_id
          }
        end
      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/attributes.rb
app_store_connect-0.3.2 lib/app_store_connect/bundle_id_create_request/data/attributes.rb
app_store_connect-0.3.1 lib/app_store_connect/bundle_id_create_request/data/attributes.rb
app_store_connect-0.3.0 lib/app_store_connect/bundle_id_create_request/data/attributes.rb