Sha256: 0222b389aa2cf8fb6e646146ddecb66a0134aea579aab5a2042ef0ebcb84fe3e

Contents?: true

Size: 860 Bytes

Versions: 14

Compression:

Stored size: 860 Bytes

Contents

module Spaceship::TestFlight
  class TestInfo < Base
    # TestInfo Contains a collection of info for testers. There is one "testInfo" for each locale.
    #
    # For now, when we set a value it sets the same value for all locales
    # When getting a value, we return the first locale values

    attr_accessor :description, :feedback_email, :whats_new

    def description
      raw_data.first['description']
    end

    def description=(value)
      raw_data.each { |locale| locale['description'] = value }
    end

    def feedback_email
      raw_data.first['feedbackEmail']
    end

    def feedback_email=(value)
      raw_data.each { |locale| locale['feedbackEmail'] = value }
    end

    def whats_new
      raw_data.first['whatsNew']
    end

    def whats_new=(value)
      raw_data.each { |locale| locale['whatsNew'] = value }
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fastlane-2.29.0.beta.20170428010037 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.29.0.beta.20170427010043 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.28.5 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.29.0.beta.20170426010043 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.28.4 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.29.0.beta.20170425010038 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.29.0.beta.20170424010049 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.29.0.beta.20170423010015 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.29.0.beta.20170422010059 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.28.3 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.29.0.beta.20170421010107 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.28.2 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.28.1 spaceship/lib/spaceship/test_flight/test_info.rb
fastlane-2.28.0 spaceship/lib/spaceship/test_flight/test_info.rb