Class: Spaceship::ConnectAPI::AppStoreReviewDetail
- Inherits:
-
Object
- Object
- Spaceship::ConnectAPI::AppStoreReviewDetail
- Includes:
- Model
- Defined in:
- spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb
Instance Attribute Summary collapse
-
#app_store_review_attachments ⇒ Object
Returns the value of attribute app_store_review_attachments.
-
#contact_email ⇒ Object
Returns the value of attribute contact_email.
-
#contact_first_name ⇒ Object
Returns the value of attribute contact_first_name.
-
#contact_last_name ⇒ Object
Returns the value of attribute contact_last_name.
-
#contact_phone ⇒ Object
Returns the value of attribute contact_phone.
-
#demo_account_name ⇒ Object
Returns the value of attribute demo_account_name.
-
#demo_account_password ⇒ Object
Returns the value of attribute demo_account_password.
-
#demo_account_required ⇒ Object
Returns the value of attribute demo_account_required.
-
#notes ⇒ Object
Returns the value of attribute notes.
Attributes included from Model
Class Method Summary collapse
Instance Method Summary collapse
-
#update(client: nil, attributes: nil) ⇒ Object
API.
- #upload_attachment(client: nil, path: nil) ⇒ Object
Methods included from Model
#attr_mapping, included, #initialize, #reverse_attr_mapping, #to_json, #update_attributes
Instance Attribute Details
#app_store_review_attachments ⇒ Object
Returns the value of attribute app_store_review_attachments.
18 19 20 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 18 def @app_store_review_attachments end |
#contact_email ⇒ Object
Returns the value of attribute contact_email.
12 13 14 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 12 def contact_email @contact_email end |
#contact_first_name ⇒ Object
Returns the value of attribute contact_first_name.
9 10 11 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 9 def contact_first_name @contact_first_name end |
#contact_last_name ⇒ Object
Returns the value of attribute contact_last_name.
10 11 12 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 10 def contact_last_name @contact_last_name end |
#contact_phone ⇒ Object
Returns the value of attribute contact_phone.
11 12 13 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 11 def contact_phone @contact_phone end |
#demo_account_name ⇒ Object
Returns the value of attribute demo_account_name.
13 14 15 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 13 def demo_account_name @demo_account_name end |
#demo_account_password ⇒ Object
Returns the value of attribute demo_account_password.
14 15 16 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 14 def demo_account_password @demo_account_password end |
#demo_account_required ⇒ Object
Returns the value of attribute demo_account_required.
15 16 17 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 15 def demo_account_required @demo_account_required end |
#notes ⇒ Object
Returns the value of attribute notes.
16 17 18 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 16 def notes @notes end |
Class Method Details
.type ⇒ Object
33 34 35 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 33 def self.type return "appStoreReviewDetails" end |
Instance Method Details
#update(client: nil, attributes: nil) ⇒ Object
API
41 42 43 44 45 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 41 def update(client: nil, attributes: nil) client ||= Spaceship::ConnectAPI attributes = reverse_attr_mapping(attributes) return client.patch_app_store_review_detail(app_store_review_detail_id: id, attributes: attributes) end |
#upload_attachment(client: nil, path: nil) ⇒ Object
47 48 49 50 |
# File 'spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb', line 47 def (client: nil, path: nil) client ||= Spaceship::ConnectAPI return client::AppStoreReviewAttachment.create(app_store_review_detail_id: id, path: path) end |