Class: TableauRestApi::Project
- Defined in:
- lib/tableau_rest_api/resources/project.rb
Instance Attribute Summary collapse
-
#content_permissions ⇒ Object
readonly
Returns the value of attribute content_permissions.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(project) ⇒ Project
constructor
A new instance of Project.
Methods inherited from Base
Constructor Details
#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 |
Instance Attribute Details
#content_permissions ⇒ Object (readonly)
Returns the value of attribute content_permissions.
3 4 5 |
# File 'lib/tableau_rest_api/resources/project.rb', line 3 def @content_permissions end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
3 4 5 |
# File 'lib/tableau_rest_api/resources/project.rb', line 3 def description @description end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/tableau_rest_api/resources/project.rb', line 3 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/tableau_rest_api/resources/project.rb', line 3 def name @name end |