Method: GoodData::Model::ProjectBuilder.create_from_data

Defined in:
lib/gooddata/models/blueprint/project_builder.rb

.create_from_data(blueprint, title = 'Title') ⇒ Object


16
17
18
19
20
# File 'lib/gooddata/models/blueprint/project_builder.rb', line 16

def create_from_data(blueprint, title = 'Title')
  pb = ProjectBuilder.new(title)
  pb.data = blueprint.to_hash
  pb
end