Method: Deliver::DetectValues#find_app
- Defined in:
- lib/deliver/detect_values.rb
#find_app(options) ⇒ Object
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/deliver/detect_values.rb', line 27 def find_app() search_by = [:app_identifier] search_by = [:app] if search_by.to_s.length == 0 app = Spaceship::Application.find(search_by) if app [:app] = app else UI.user_error!("Could not find app with app identifier '#{[:app_identifier]}' in your iTunes Connect account (#{[:username]} - Team: #{Spaceship::Tunes.client.team_id})") end end |