Class: GoNative::Plugins::IOS::SetMarketingVersion

Inherits:
Object
  • Object
show all
Extended by:
DSL::Serviceable
Defined in:
lib/gonative/plugins/ios/set_marketing_version.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(marketing_version) ⇒ SetMarketingVersion

Returns a new instance of SetMarketingVersion.



11
12
13
# File 'lib/gonative/plugins/ios/set_marketing_version.rb', line 11

def initialize(marketing_version)
  @marketing_version = marketing_version
end

Instance Attribute Details

#marketing_versionObject (readonly)

Returns the value of attribute marketing_version.



9
10
11
# File 'lib/gonative/plugins/ios/set_marketing_version.rb', line 9

def marketing_version
  @marketing_version
end

Instance Method Details

#callObject



15
16
17
# File 'lib/gonative/plugins/ios/set_marketing_version.rb', line 15

def call
  Helpers::BuildSettingUpdater.call(marketing_version, 'MARKETING_VERSION')
end