Class: Spaceship::TestFlight::TestInfo

Inherits:
Base
  • Object
show all
Defined in:
spaceship/lib/spaceship/test_flight/test_info.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#client, #raw_data

Instance Method Summary collapse

Methods inherited from Base

client, inherited, #to_json

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

#descriptionObject

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



10
11
12
# File 'spaceship/lib/spaceship/test_flight/test_info.rb', line 10

def description
  @description
end

#feedback_emailObject

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



10
11
12
# File 'spaceship/lib/spaceship/test_flight/test_info.rb', line 10

def feedback_email
  @feedback_email
end

#marketing_urlObject

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



10
11
12
# File 'spaceship/lib/spaceship/test_flight/test_info.rb', line 10

def marketing_url
  @marketing_url
end

#privacy_policy_urlObject

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



10
11
12
# File 'spaceship/lib/spaceship/test_flight/test_info.rb', line 10

def privacy_policy_url
  @privacy_policy_url
end

#whats_newObject

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



10
11
12
# File 'spaceship/lib/spaceship/test_flight/test_info.rb', line 10

def whats_new
  @whats_new
end

Instance Method Details

#deep_copyObject



52
53
54
# File 'spaceship/lib/spaceship/test_flight/test_info.rb', line 52

def deep_copy
  TestInfo.new(raw_data.map(&:dup))
end