Sha256: e4d834a96da3bce6d45a1721a3c81b1674557f0e76f6948f7aa8aa7bd437ef91

Contents?: true

Size: 374 Bytes

Versions: 7

Compression:

Stored size: 374 Bytes

Contents

require 'connector_kit/models/model'

module ConnectorKit
  # Simple model class for representing AppVersion
  class Version < Model
    attr_reader :version_string, :store_state

    def initialize(options)
      super(options)

      attrs = options['attributes']
      @version_string = attrs['versionString']
      @store_state = attrs['appStoreState']
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
appstore_kit_fork-0.0.5 lib/connector_kit/models/app_version.rb
appstore_kit_fork-0.0.4 lib/connector_kit/models/app_version.rb
appstore_kit_fork-0.0.3 lib/connector_kit/models/app_version.rb
appstore_kit_fork-0.0.2 lib/connector_kit/models/app_version.rb
appstore_kit_fork-0.0.1 lib/connector_kit/models/app_version.rb
connector_kit_fork-0.3.2 lib/connector_kit/models/version.rb
connector_kit_fork-0.3.1 lib/connector_kit/models/version.rb