Class: AppStoreConnect::BundleIdCreateRequest::Data::Attributes

Inherits:
Object
  • Object
show all
Defined in:
lib/app_store_connect/bundle_id_create_request/data/attributes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(identifier:, name:, platform:, seed_id:) ⇒ Attributes

Returns a new instance of Attributes.



9
10
11
12
13
14
# File 'lib/app_store_connect/bundle_id_create_request/data/attributes.rb', line 9

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

Instance Attribute Details

#identifierObject

Returns the value of attribute identifier.



7
8
9
# File 'lib/app_store_connect/bundle_id_create_request/data/attributes.rb', line 7

def identifier
  @identifier
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/app_store_connect/bundle_id_create_request/data/attributes.rb', line 7

def name
  @name
end

#platformObject

Returns the value of attribute platform.



7
8
9
# File 'lib/app_store_connect/bundle_id_create_request/data/attributes.rb', line 7

def platform
  @platform
end

#seed_idObject

Returns the value of attribute seed_id.



7
8
9
# File 'lib/app_store_connect/bundle_id_create_request/data/attributes.rb', line 7

def seed_id
  @seed_id
end

Instance Method Details

#to_hashObject



16
17
18
19
20
21
22
23
# File 'lib/app_store_connect/bundle_id_create_request/data/attributes.rb', line 16

def to_hash
  {
    identifier: identifier,
    name: name,
    platform: platform,
    seed_id: seed_id
  }
end