Class: AppStoreConnect::BundleIdCreateRequest::Data::Attributes
- Inherits:
-
Object
- Object
- AppStoreConnect::BundleIdCreateRequest::Data::Attributes
- Defined in:
- lib/app_store_connect/bundle_id_create_request/data/attributes.rb
Instance Attribute Summary collapse
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#name ⇒ Object
Returns the value of attribute name.
-
#platform ⇒ Object
Returns the value of attribute platform.
-
#seed_id ⇒ Object
Returns the value of attribute seed_id.
Instance Method Summary collapse
-
#initialize(identifier:, name:, platform:, seed_id:) ⇒ Attributes
constructor
A new instance of Attributes.
- #to_hash ⇒ Object
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
#identifier ⇒ Object
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 |
#name ⇒ Object
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 |
#platform ⇒ Object
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_id ⇒ Object
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_hash ⇒ Object
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 |