Class: Spaceship::ConnectAPI::ReviewSubmissionItem
- Inherits:
-
Object
- Object
- Spaceship::ConnectAPI::ReviewSubmissionItem
- Includes:
- Model
- Defined in:
- spaceship/lib/spaceship/connect_api/models/review_submission_item.rb
Instance Attribute Summary collapse
-
#app_event ⇒ Object
Returns the value of attribute app_event.
-
#app_store_product_page_version ⇒ Object
Returns the value of attribute app_store_product_page_version.
-
#app_store_version ⇒ Object
Returns the value of attribute app_store_version.
-
#app_store_version_experiment ⇒ Object
Returns the value of attribute app_store_version_experiment.
-
#state ⇒ Object
Returns the value of attribute state.
Attributes included from Model
Class Method Summary collapse
-
.all(client: nil, review_submission_id:, includes: nil, limit: nil, sort: nil) ⇒ Object
appCustomProductPageVersion,appEvent,appStoreVersion,appStoreVersionExperiment.
- .type ⇒ Object
Methods included from Model
#attr_mapping, included, #initialize, #reverse_attr_mapping, #to_json, #update_attributes
Instance Attribute Details
#app_event ⇒ Object
Returns the value of attribute app_event.
13 14 15 |
# File 'spaceship/lib/spaceship/connect_api/models/review_submission_item.rb', line 13 def app_event @app_event end |
#app_store_product_page_version ⇒ Object
Returns the value of attribute app_store_product_page_version.
12 13 14 |
# File 'spaceship/lib/spaceship/connect_api/models/review_submission_item.rb', line 12 def app_store_product_page_version @app_store_product_page_version end |
#app_store_version ⇒ Object
Returns the value of attribute app_store_version.
11 12 13 |
# File 'spaceship/lib/spaceship/connect_api/models/review_submission_item.rb', line 11 def app_store_version @app_store_version end |
#app_store_version_experiment ⇒ Object
Returns the value of attribute app_store_version_experiment.
10 11 12 |
# File 'spaceship/lib/spaceship/connect_api/models/review_submission_item.rb', line 10 def app_store_version_experiment @app_store_version_experiment end |
#state ⇒ Object
Returns the value of attribute state.
8 9 10 |
# File 'spaceship/lib/spaceship/connect_api/models/review_submission_item.rb', line 8 def state @state end |
Class Method Details
.all(client: nil, review_submission_id:, includes: nil, limit: nil, sort: nil) ⇒ Object
appCustomProductPageVersion,appEvent,appStoreVersion,appStoreVersionExperiment
33 34 35 36 37 |
# File 'spaceship/lib/spaceship/connect_api/models/review_submission_item.rb', line 33 def self.all(client: nil, review_submission_id:, includes: nil, limit: nil, sort: nil) client ||= Spaceship::ConnectAPI resps = client.get_review_submission_items(review_submission_id: review_submission_id, includes: includes, limit: limit, sort: sort).all_pages return resps.flat_map(&:to_models) end |
.type ⇒ Object
24 25 26 |
# File 'spaceship/lib/spaceship/connect_api/models/review_submission_item.rb', line 24 def self.type return "reviewSubmissionItems" end |