Class: Thrust::IOSSpecTarget

Inherits:
Object
  • Object
show all
Defined in:
lib/thrust/ios_spec_target.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ IOSSpecTarget

Returns a new instance of IOSSpecTarget.



12
13
14
15
16
17
18
19
20
21
# File 'lib/thrust/ios_spec_target.rb', line 12

def initialize(attributes)
  @build_configuration = attributes['build_configuration']
  @build_sdk = attributes['build_sdk'] || 'iphonesimulator'
  @device = attributes['device'] || 'iphone'
  @device_type_id = attributes['device_type_id']
  @runtime_sdk = attributes['runtime_sdk']
  @scheme = attributes['scheme']
  @target = attributes['target']
  @type = attributes['type'] || 'app'
end

Instance Attribute Details

#build_configurationObject (readonly)

Returns the value of attribute build_configuration.



3
4
5
# File 'lib/thrust/ios_spec_target.rb', line 3

def build_configuration
  @build_configuration
end

#build_sdkObject (readonly)

Returns the value of attribute build_sdk.



3
4
5
# File 'lib/thrust/ios_spec_target.rb', line 3

def build_sdk
  @build_sdk
end

#deviceObject (readonly)

Returns the value of attribute device.



3
4
5
# File 'lib/thrust/ios_spec_target.rb', line 3

def device
  @device
end

#device_type_idObject (readonly)

Returns the value of attribute device_type_id.



3
4
5
# File 'lib/thrust/ios_spec_target.rb', line 3

def device_type_id
  @device_type_id
end

#runtime_sdkObject (readonly)

Returns the value of attribute runtime_sdk.



3
4
5
# File 'lib/thrust/ios_spec_target.rb', line 3

def runtime_sdk
  @runtime_sdk
end

#schemeObject (readonly)

Returns the value of attribute scheme.



3
4
5
# File 'lib/thrust/ios_spec_target.rb', line 3

def scheme
  @scheme
end

#targetObject (readonly)

Returns the value of attribute target.



3
4
5
# File 'lib/thrust/ios_spec_target.rb', line 3

def target
  @target
end

#typeObject (readonly)

Returns the value of attribute type.



3
4
5
# File 'lib/thrust/ios_spec_target.rb', line 3

def type
  @type
end