Sha256: 1ed6fcedd340cdf23bf12694582060573a283925f8476ade2583ebc05d49ab69

Contents?: true

Size: 900 Bytes

Versions: 76

Compression:

Stored size: 900 Bytes

Contents

module Spaceship
  module Tunes
    # Represents a read only version of an iTunes Connect Versions State History
    class AppVersionStatesHistory < TunesBase
      # @return (String) the state
      attr_reader :state_key

      # @return (String) The name of the user who made the change
      attr_reader :user_name

      # @return (String) the email of the user or nil
      attr_reader :user_email

      # @return (Integer) the date of the state
      attr_reader :date

      attr_mapping({
        'stateKey' => :state_key,
        'userName' => :user_name,
        'userEmail' => :user_email,
        'date' => :date
      })

      class << self
        # Create a new object based on a hash.
        # This is used to create a new object based on the server response.
        def factory(attrs)
          obj = self.new(attrs)
          return obj
        end
      end
    end
  end
end

Version data entries

76 entries across 76 versions & 2 rubygems

Version Path
spaceship-0.34.1 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.34.0 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.33.0 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.32.4 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.32.3 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.32.2 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.32.1 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.32.0 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.10 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.9 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.8 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.7 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.6 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.5 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.4 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.3 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.2 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.1 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.31.0 lib/spaceship/tunes/app_version_states_history.rb
spaceship-0.30.0 lib/spaceship/tunes/app_version_states_history.rb