Class: Googlecalendar::GCalendar

Inherits:
Object
  • Object
show all
Defined in:
lib/googlecalendar/gcalendar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#titleObject (readonly)

Returns the value of attribute title.



3
4
5
# File 'lib/googlecalendar/gcalendar.rb', line 3

def title
  @title
end

#urlObject (readonly)

Returns the value of attribute url.



3
4
5
# File 'lib/googlecalendar/gcalendar.rb', line 3

def url
  @url
end