cupertino
cupertino copied to clipboard
Use interface in Ruby code
I have your fork of this gem installed on my local machine. I want to integrate downloading new provisioning profiles in my continuous integration flow. The issue is that I might have multiple developer accounts with different profiles, so I'd like to download profiles through one of my Rails controllers rather than through a command line interface.
How might I do something like this? For example:
require "cupertino"
def update_profiles
# something like this
c = Cupertino.new
c.download_profiles(username, password)
end