Class: Spaceship::ConnectAPI::AppInfoLocalization
- Inherits:
-
Object
- Object
- Spaceship::ConnectAPI::AppInfoLocalization
- Includes:
- Model
- Defined in:
- spaceship/lib/spaceship/connect_api/models/app_info_localization.rb
Instance Attribute Summary collapse
-
#locale ⇒ Object
Returns the value of attribute locale.
-
#name ⇒ Object
Returns the value of attribute name.
-
#privacy_choices_url ⇒ Object
Returns the value of attribute privacy_choices_url.
-
#privacy_policy_text ⇒ Object
Returns the value of attribute privacy_policy_text.
-
#privacy_policy_url ⇒ Object
Returns the value of attribute privacy_policy_url.
-
#subtitle ⇒ Object
Returns the value of attribute subtitle.
Attributes included from Model
Class Method Summary collapse
Instance Method Summary collapse
- #delete!(client: nil, filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object
-
#update(client: nil, attributes: nil) ⇒ Object
API.
Methods included from Model
#attr_mapping, included, #initialize, #reverse_attr_mapping, #to_json, #update_attributes
Instance Attribute Details
#locale ⇒ Object
Returns the value of attribute locale.
7 8 9 |
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 7 def locale @locale end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 8 def name @name end |
#privacy_choices_url ⇒ Object
Returns the value of attribute privacy_choices_url.
11 12 13 |
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 11 def privacy_choices_url @privacy_choices_url end |
#privacy_policy_text ⇒ Object
Returns the value of attribute privacy_policy_text.
12 13 14 |
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 12 def privacy_policy_text @privacy_policy_text end |
#privacy_policy_url ⇒ Object
Returns the value of attribute privacy_policy_url.
10 11 12 |
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 10 def privacy_policy_url @privacy_policy_url end |
#subtitle ⇒ Object
Returns the value of attribute subtitle.
9 10 11 |
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 9 def subtitle @subtitle end |
Class Method Details
.type ⇒ Object
23 24 25 |
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 23 def self.type return "appInfoLocalizations" end |
Instance Method Details
#delete!(client: nil, filter: {}, includes: nil, limit: nil, sort: nil) ⇒ Object
37 38 39 40 |
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 37 def delete!(client: nil, filter: {}, includes: nil, limit: nil, sort: nil) client ||= Spaceship::ConnectAPI client.delete_app_info_localization(app_info_localization_id: id) end |
#update(client: nil, attributes: nil) ⇒ Object
API
31 32 33 34 35 |
# File 'spaceship/lib/spaceship/connect_api/models/app_info_localization.rb', line 31 def update(client: nil, attributes: nil) client ||= Spaceship::ConnectAPI attributes = reverse_attr_mapping(attributes) client.patch_app_info_localization(app_info_localization_id: id, attributes: attributes) end |