Sha256: 35a33649dc7886072e4416dfdf4179e0bc0e1c16d117ec85ba78e759a6e0f107

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

require_relative '../helper/json_converter'

# Device Model
# @example 'device: iPhone10,3, os-version: 14.0'
class DeviceModel < JSONConverter
  attr_reader :device, :os_version

  PARSING_KEYS = {
    device: 'device: ',
    os_version: 'os-version: '
  }.freeze

  def initialize(device, os_version)
    super()
    @device = device
    @os_version = os_version
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-app_size_report-1.0.0 lib/converter/models/device_model.rb