testflight method will yield  object if given the block
testflight method will yield  object if given the block

We could configure for testflight with block parameter. like:

    app.testflight do |flight|
      flight.sdk = 'vendor/TestFlight'
      flight.api_token = '<insert your API token here>'
      flight.team_token = '<insert your team token here>'
      flight.notify = true # default is false
    end

HipByte/motion-testflight