Sha256: c9f55bf2d1c9231f9d014c1ac04a46b0d2f2c7ede557894e2c8a8447a17a8adf

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

require 'appstore_kit_fork/models/model'

module AppstoreKitFork
  # Simple model class for representing Apps
  class App < Model
    attr_reader :bundle_id, :name, :sku

    def initialize(options)
      super(options)

      attrs = options['attributes']
      @bundle_id = attrs['bundleId']
      @name = attrs['name']
      @sku = attrs['sku']
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appstore_kit_fork-0.0.6 lib/appstore_kit_fork/models/app.rb