Class: Spaceship::Tunes::AppVersionStatesHistory
- Defined in:
- lib/spaceship/tunes/app_version_states_history.rb
Overview
Represents a read only version of an iTunes Connect Versions State History
Instance Attribute Summary collapse
-
#date ⇒ Integer
readonly
The date of the state.
-
#state_key ⇒ String
readonly
The state.
-
#user_email ⇒ String
readonly
The email of the user or nil.
-
#user_name ⇒ String
readonly
The name of the user who made the change.
Attributes inherited from Base
Class Method Summary collapse
-
.factory(attrs) ⇒ Object
Create a new object based on a hash.
Methods inherited from TunesBase
Methods inherited from Base
attr_accessor, attr_mapping, #attributes, attributes, #initialize, #inspect, mapping_module, method_missing, set_client, #setup, #to_s
Constructor Details
This class inherits a constructor from Spaceship::Base
Instance Attribute Details
#date ⇒ Integer (readonly)
Returns the date of the state.
15 16 17 |
# File 'lib/spaceship/tunes/app_version_states_history.rb', line 15 def date @date end |
#state_key ⇒ String (readonly)
Returns the state.
6 7 8 |
# File 'lib/spaceship/tunes/app_version_states_history.rb', line 6 def state_key @state_key end |
#user_email ⇒ String (readonly)
Returns the email of the user or nil.
12 13 14 |
# File 'lib/spaceship/tunes/app_version_states_history.rb', line 12 def user_email @user_email end |
#user_name ⇒ String (readonly)
Returns The name of the user who made the change.
9 10 11 |
# File 'lib/spaceship/tunes/app_version_states_history.rb', line 9 def user_name @user_name end |
Class Method Details
.factory(attrs) ⇒ Object
Create a new object based on a hash. This is used to create a new object based on the server response.
27 28 29 30 |
# File 'lib/spaceship/tunes/app_version_states_history.rb', line 27 def factory(attrs) obj = self.new(attrs) return obj end |