Method: GoodData::Command::Project.create
- Defined in:
- lib/gooddata/commands/project.rb
.create(options = { client: GoodData.connection }) ⇒ Object
Create new project based on options supplied
17 18 19 20 21 22 23 24 25 |
# File 'lib/gooddata/commands/project.rb', line 17 def create( = { client: GoodData.connection }) title = [:title] summary = [:summary] template = [:template] token = [:token] client = [:client] driver = [:driver] || 'Pg' GoodData::Project.create(:title => title, :summary => summary, :template => template, :auth_token => token, :client => client, :driver => driver) end |