Class: Spaceship::ConnectAPI::IdfaDeclaration
- Inherits:
-
Object
- Object
- Spaceship::ConnectAPI::IdfaDeclaration
- Includes:
- Model
- Defined in:
- spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb
Defined Under Namespace
Modules: AppStoreAgeRating
Instance Attribute Summary collapse
-
#attributes_action_with_previous_ad ⇒ Object
Returns the value of attribute attributes_action_with_previous_ad.
-
#attributes_app_installation_to_previous_ad ⇒ Object
Returns the value of attribute attributes_app_installation_to_previous_ad.
-
#honors_limited_ad_tracking ⇒ Object
Returns the value of attribute honors_limited_ad_tracking.
-
#serves_ads ⇒ Object
Returns the value of attribute serves_ads.
Attributes included from Model
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_ad ⇒ Object
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_ad ⇒ Object
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_tracking ⇒ Object
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_ads ⇒ Object
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
.type ⇒ Object
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 |