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