class Spaceship::TestFlight::AppTestInfo

Attributes

beta_review_info[RW]
test_info[RW]

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

Public Class Methods

find(app_id: nil) click to toggle source
# 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

Public Instance Methods

beta_review_info=(value) click to toggle source
# File spaceship/lib/spaceship/test_flight/app_test_info.rb, line 31
def beta_review_info=(value)
  raw_data.set(['betaReviewInfo'], value.raw_data)
end
save_for_app!(app_id: nil) click to toggle source

saves the changes to the App Test Info object to TestFlight

# 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
test_info=(value) click to toggle source
# File spaceship/lib/spaceship/test_flight/app_test_info.rb, line 23
def test_info=(value)
  raw_data.set(['details'], value.raw_data)
end