Class: AppStoreConnect::BundleIdCreateRequest::Data

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#attributesObject (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_hashObject



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

#typeObject



16
17
18
# File 'lib/app_store_connect/bundle_id_create_request/data.rb', line 16

def type
  TYPE
end