Class: Spaceship::ConnectAPI::IdfaDeclaration

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb

Defined Under Namespace

Modules: AppStoreAgeRating

Instance Attribute Summary collapse

Attributes included from Model

#id

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Model

#attr_mapping, included, #initialize, #to_json, #update_attributes

Instance Attribute Details

#attributes_action_with_previous_adObject

Returns the value of attribute attributes_action_with_previous_ad


9
10
11
# File 'spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb', line 9

def attributes_action_with_previous_ad
  @attributes_action_with_previous_ad
end

#attributes_app_installation_to_previous_adObject

Returns the value of attribute attributes_app_installation_to_previous_ad


8
9
10
# File 'spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb', line 8

def attributes_app_installation_to_previous_ad
  @attributes_app_installation_to_previous_ad
end

#honors_limited_ad_trackingObject

Returns the value of attribute honors_limited_ad_tracking


10
11
12
# File 'spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb', line 10

def honors_limited_ad_tracking
  @honors_limited_ad_tracking
end

#serves_adsObject

Returns the value of attribute serves_ads


7
8
9
# File 'spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb', line 7

def serves_ads
  @serves_ads
end

Class Method Details

.typeObject


23
24
25
# File 'spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb', line 23

def self.type
  return "idfaDeclarations"
end

Instance Method Details

#delete!Object


35
36
37
# File 'spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb', line 35

def delete!
  Spaceship::ConnectAPI.delete_idfa_declaration(idfa_declaration_id: id)
end

#update(attributes: nil) ⇒ Object

API


31
32
33
# File 'spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb', line 31

def update(attributes: nil)
  Spaceship::ConnectAPI.patch_idfa_declaration(idfa_declaration_id: id, attributes: attributes)
end