Class: AppStoreConnect::BundleIdCreateRequest::Data
- Inherits:
-
Object
- Object
- AppStoreConnect::BundleIdCreateRequest::Data
- Defined in:
- lib/app_store_connect/bundle_id_create_request/data.rb,
lib/app_store_connect/bundle_id_create_request/data/attributes.rb
Defined Under Namespace
Classes: Attributes
Constant Summary collapse
- TYPE =
'bundleIds'
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Data
constructor
A new instance of Data.
- #to_hash ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(*args) ⇒ Data
Returns a new instance of Data.
12 13 14 |
# File 'lib/app_store_connect/bundle_id_create_request/data.rb', line 12 def initialize(*args) @attributes = Attributes.new(*args) end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
10 11 12 |
# File 'lib/app_store_connect/bundle_id_create_request/data.rb', line 10 def attributes @attributes end |
Instance Method Details
#to_hash ⇒ Object
20 21 22 23 24 25 |
# File 'lib/app_store_connect/bundle_id_create_request/data.rb', line 20 def to_hash { attributes: attributes.to_hash, type: type } end |
#type ⇒ Object
16 17 18 |
# File 'lib/app_store_connect/bundle_id_create_request/data.rb', line 16 def type TYPE end |