Module: DeployGateIOS
- Included in:
- DeployGateConfig
- Defined in:
- lib/ios.rb
Instance Method Summary collapse
- #api_key=(key) ⇒ Object
- #sdk=(sdk) ⇒ Object
- #url_scheme=(scheme) ⇒ Object
- #user_id=(id) ⇒ Object
- #user_infomation=(bool) ⇒ Object (also: #user_information=)
Instance Method Details
#api_key=(key) ⇒ Object
6 7 8 |
# File 'lib/ios.rb', line 6 def api_key=(key) @api_key = key end |
#sdk=(sdk) ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/ios.rb', line 24 def sdk=(sdk) @sdk = sdk @config.vendor_project( sdk, :static, :products => ['DeployGateSDK'], :headers_dir => 'Headers' ) @config.frameworks << 'SystemConfiguration' create_launcher apply_patch end |
#url_scheme=(scheme) ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/ios.rb', line 15 def url_scheme=(scheme) @config.info_plist['CFBundleURLTypes'] = [ { 'CFBundleURLName' => @config.identifier, 'CFBundleURLSchemes' => [scheme] } ] end |
#user_id=(id) ⇒ Object
2 3 4 |
# File 'lib/ios.rb', line 2 def user_id=(id) @user_id = id end |
#user_infomation=(bool) ⇒ Object Also known as: user_information=
10 11 12 |
# File 'lib/ios.rb', line 10 def user_infomation=(bool) @user_infomation = bool end |