class Pandora::Client::Main

Public Instance Methods

create(name, organization) click to toggle source
# File lib/pandora/client/main.rb, line 9
def create(name, organization)
  Pandora::Commands::Create.new(Dir.pwd, name, organization).execute
end

Private Instance Methods

project_path(name, path) click to toggle source
# File lib/pandora/client/main.rb, line 15
def project_path(name, path)
  raise "Project should be the folder, not the .xcodeproj file" if path.include? ".xcodeproj"
  path ||= Dir.expand_path("./#{name}")
  Dir.join(path, "#{name}.xcodeproj")
end