Class: Spaceship::Tunes::AppVersionStatesHistory

Inherits:
TunesBase
  • Object
show all
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

Attributes inherited from Base

#client, #raw_data

Class Method Summary collapse

Methods inherited from TunesBase

client

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

#dateInteger (readonly)

Returns the date of the state.

Returns:

  • (Integer)

    the date of the state



15
16
17
# File 'lib/spaceship/tunes/app_version_states_history.rb', line 15

def date
  @date
end

#state_keyString (readonly)

Returns the state.

Returns:



6
7
8
# File 'lib/spaceship/tunes/app_version_states_history.rb', line 6

def state_key
  @state_key
end

#user_emailString (readonly)

Returns the email of the user or nil.

Returns:

  • (String)

    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_nameString (readonly)

Returns The name of the user who made the change.

Returns:

  • (String)

    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