Class: Spaceship::TestFlight::AppTestInfo
- Defined in:
- spaceship/lib/spaceship/test_flight/app_test_info.rb
Instance Attribute Summary collapse
-
#beta_review_info ⇒ Object
Returns the value of attribute beta_review_info.
-
#test_info ⇒ Object
AppTestInfo wraps a test_info and beta_review_info in the format required to manage test_info for an application.
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#save_for_app!(app_id: nil) ⇒ Object
saves the changes to the App Test Info object to TestFlight.
Methods inherited from Base
Methods inherited from Base
attr_accessor, attr_mapping, attributes, #attributes, factory, #initialize, #inspect, mapping_module, method_missing, set_client, #setup, #to_s
Constructor Details
This class inherits a constructor from Spaceship::Base
Instance Attribute Details
#beta_review_info ⇒ Object
Returns the value of attribute beta_review_info.
12 13 14 |
# File 'spaceship/lib/spaceship/test_flight/app_test_info.rb', line 12 def beta_review_info @beta_review_info end |
#test_info ⇒ Object
AppTestInfo wraps a test_info and beta_review_info in the format required to manage test_info for an application. Note that this structure, although looking similar to build test_info is test information about the application
11 12 13 |
# File 'spaceship/lib/spaceship/test_flight/app_test_info.rb', line 11 def test_info @test_info end |
Class Method Details
.find(app_id: nil) ⇒ Object
14 15 16 17 |
# File 'spaceship/lib/spaceship/test_flight/app_test_info.rb', line 14 def self.find(app_id: nil) raw_app_test_info = client.get_app_test_info(app_id: app_id) self.new(raw_app_test_info) end |
Instance Method Details
#save_for_app!(app_id: nil) ⇒ Object
saves the changes to the App Test Info object to TestFlight
36 37 38 |
# File 'spaceship/lib/spaceship/test_flight/app_test_info.rb', line 36 def save_for_app!(app_id: nil) client.put_app_test_info(app_id: app_id, app_test_info: self) end |