Method: TableauRestApi::Project#initialize

Defined in:
lib/tableau_rest_api/resources/project.rb

#initialize(project) ⇒ Project

Returns a new instance of Project.



5
6
7
8
9
10
# File 'lib/tableau_rest_api/resources/project.rb', line 5

def initialize(project)
  @id = project.id
  @name = project.name
  @description = project.description
  @content_permissions = project.contentPermissions
end