Class: Calendar::CalendarResults::CalendarResultItem
- Inherits:
-
Object
- Object
- Calendar::CalendarResults::CalendarResultItem
- Defined in:
- app/models/calendar.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#end_time ⇒ Object
Returns the value of attribute end_time.
-
#location ⇒ Object
Returns the value of attribute location.
-
#name ⇒ Object
Returns the value of attribute name.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
Instance Method Summary collapse
-
#initialize(name, description, location, start_time, end_time) ⇒ CalendarResultItem
constructor
A new instance of CalendarResultItem.
Constructor Details
#initialize(name, description, location, start_time, end_time) ⇒ CalendarResultItem
Returns a new instance of CalendarResultItem.
11 12 13 14 15 16 17 |
# File 'app/models/calendar.rb', line 11 def initialize(name, description, location, start_time, end_time) @name=name @description = description @location = location @start_time = start_time @end_time = end_time end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
9 10 11 |
# File 'app/models/calendar.rb', line 9 def description @description end |
#end_time ⇒ Object
Returns the value of attribute end_time.
9 10 11 |
# File 'app/models/calendar.rb', line 9 def end_time @end_time end |
#location ⇒ Object
Returns the value of attribute location.
9 10 11 |
# File 'app/models/calendar.rb', line 9 def location @location end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'app/models/calendar.rb', line 9 def name @name end |
#start_time ⇒ Object
Returns the value of attribute start_time.
9 10 11 |
# File 'app/models/calendar.rb', line 9 def start_time @start_time end |