Class: Spaceship::Tunes::DeveloperResponse
- Inherits:
-
TunesBase
- Object
- TunesBase
- Spaceship::Tunes::DeveloperResponse
- Defined in:
- lib/fastlane/plugin/devresponse/patches/spaceship/tunes/app_ratings.rb
Instance Attribute Summary collapse
-
#application ⇒ Object
Returns the value of attribute application.
-
#hidden ⇒ Object
readonly
Returns the value of attribute hidden.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#last_modified ⇒ Object
readonly
Returns the value of attribute last_modified.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#review_id ⇒ Object
Returns the value of attribute review_id.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
Instance Attribute Details
#application ⇒ Object
Returns the value of attribute application.
19 20 21 |
# File 'lib/fastlane/plugin/devresponse/patches/spaceship/tunes/app_ratings.rb', line 19 def application @application end |
#hidden ⇒ Object (readonly)
Returns the value of attribute hidden.
17 18 19 |
# File 'lib/fastlane/plugin/devresponse/patches/spaceship/tunes/app_ratings.rb', line 17 def hidden @hidden end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
14 15 16 |
# File 'lib/fastlane/plugin/devresponse/patches/spaceship/tunes/app_ratings.rb', line 14 def id @id end |
#last_modified ⇒ Object (readonly)
Returns the value of attribute last_modified.
16 17 18 |
# File 'lib/fastlane/plugin/devresponse/patches/spaceship/tunes/app_ratings.rb', line 16 def last_modified @last_modified end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
15 16 17 |
# File 'lib/fastlane/plugin/devresponse/patches/spaceship/tunes/app_ratings.rb', line 15 def response @response end |
#review_id ⇒ Object
Returns the value of attribute review_id.
20 21 22 |
# File 'lib/fastlane/plugin/devresponse/patches/spaceship/tunes/app_ratings.rb', line 20 def review_id @review_id end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
18 19 20 |
# File 'lib/fastlane/plugin/devresponse/patches/spaceship/tunes/app_ratings.rb', line 18 def state @state end |
Instance Method Details
#create!(text) ⇒ Object
30 31 32 |
# File 'lib/fastlane/plugin/devresponse/patches/spaceship/tunes/app_ratings.rb', line 30 def create!(text) client.create_developer_response!(app_id: application.apple_id, platform: application.platform, review_id: review_id, response: text) end |
#update!(text) ⇒ Object
34 35 36 |
# File 'lib/fastlane/plugin/devresponse/patches/spaceship/tunes/app_ratings.rb', line 34 def update!(text) client.update_developer_response!(app_id: application.apple_id, platform: application.platform, review_id: review_id, response_id: id, response: text) end |