Class: Googlecalendar::GCalendar
- Inherits:
-
Object
- Object
- Googlecalendar::GCalendar
- Defined in:
- lib/googlecalendar/gcalendar.rb
Instance Attribute Summary collapse
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(title, url) ⇒ GCalendar
constructor
A new instance of GCalendar.
Constructor Details
#initialize(title, url) ⇒ GCalendar
Returns a new instance of GCalendar.
5 6 7 8 |
# File 'lib/googlecalendar/gcalendar.rb', line 5 def initialize(title, url) @title = title @url = url end |
Instance Attribute Details
#title ⇒ Object (readonly)
Returns the value of attribute title.
3 4 5 |
# File 'lib/googlecalendar/gcalendar.rb', line 3 def title @title end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
3 4 5 |
# File 'lib/googlecalendar/gcalendar.rb', line 3 def url @url end |