Sha256: d5adac7db00c0be18dfc502b2dad4e2765b972fa8fa5e1239d6ffb4f083eb2e2
Contents?: true
Size: 657 Bytes
Versions: 2
Compression:
Stored size: 657 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: nil) self.identifier = identifier self.name = name self.platform = platform self.seed_id = seed_id end def to_h { identifier: identifier, name: name, platform: platform }.tap do |hash| hash[:seed_id] = seed_id unless seed_id.nil? end end 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/attributes.rb |
app_store_connect-0.5.0 | lib/app_store_connect/bundle_id_create_request/data/attributes.rb |