Class: Spaceship::ConnectAPI::ReviewSubmissionItem

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

Instance Attribute Summary collapse

Attributes included from Model

#id, #reverse_attr_map

Class Method Summary collapse

Methods included from Model

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

Instance Attribute Details

#app_eventObject

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_versionObject

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_versionObject

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_experimentObject

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

#stateObject

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

.typeObject



24
25
26
# File 'spaceship/lib/spaceship/connect_api/models/review_submission_item.rb', line 24

def self.type
  return "reviewSubmissionItems"
end