Class: Caly::Calendar
- Inherits:
-
Object
- Object
- Caly::Calendar
- Defined in:
- lib/caly/calendar.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
-
#timezone ⇒ Object
readonly
Returns the value of attribute timezone.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, description: nil, location: nil, timezone: nil, raw: nil) ⇒ Calendar
constructor
A new instance of Calendar.
Constructor Details
#initialize(id: nil, name: nil, description: nil, location: nil, timezone: nil, raw: nil) ⇒ Calendar
Returns a new instance of Calendar.
5 6 7 8 9 10 11 12 |
# File 'lib/caly/calendar.rb', line 5 def initialize(id: nil, name: nil, description: nil, location: nil, timezone: nil, raw: nil) @id = id @name = name @description = description @location = location @timezone = timezone @raw = raw end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
3 4 5 |
# File 'lib/caly/calendar.rb', line 3 def description @description end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/caly/calendar.rb', line 3 def id @id end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
3 4 5 |
# File 'lib/caly/calendar.rb', line 3 def location @location end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/caly/calendar.rb', line 3 def name @name end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
3 4 5 |
# File 'lib/caly/calendar.rb', line 3 def raw @raw end |
#timezone ⇒ Object (readonly)
Returns the value of attribute timezone.
3 4 5 |
# File 'lib/caly/calendar.rb', line 3 def timezone @timezone end |