Class: GoogleOAuth::Calendar::Calendar
- Inherits:
-
Object
- Object
- GoogleOAuth::Calendar::Calendar
- Defined in:
- lib/google_oauth/calendar/calendar.rb
Overview
Instance Attribute Summary collapse
-
#access_role ⇒ Object
Returns the value of attribute access_role.
-
#color_id ⇒ Object
Returns the value of attribute color_id.
-
#description ⇒ Object
Returns the value of attribute description.
-
#etag ⇒ Object
Returns the value of attribute etag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#time_zone ⇒ Object
Returns the value of attribute time_zone.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Calendar
constructor
A new instance of Calendar.
Constructor Details
#initialize(opts = {}) ⇒ Calendar
Returns a new instance of Calendar.
8 9 10 11 12 13 |
# File 'lib/google_oauth/calendar/calendar.rb', line 8 def initialize(opts = {}) opts.each_pair do |key, value| send "#{key}=".to_sym, value end super end |
Instance Attribute Details
#access_role ⇒ Object
Returns the value of attribute access_role.
6 7 8 |
# File 'lib/google_oauth/calendar/calendar.rb', line 6 def access_role @access_role end |
#color_id ⇒ Object
Returns the value of attribute color_id.
6 7 8 |
# File 'lib/google_oauth/calendar/calendar.rb', line 6 def color_id @color_id end |
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/google_oauth/calendar/calendar.rb', line 6 def description @description end |
#etag ⇒ Object
Returns the value of attribute etag.
6 7 8 |
# File 'lib/google_oauth/calendar/calendar.rb', line 6 def etag @etag end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/google_oauth/calendar/calendar.rb', line 6 def id @id end |
#summary ⇒ Object
Returns the value of attribute summary.
6 7 8 |
# File 'lib/google_oauth/calendar/calendar.rb', line 6 def summary @summary end |
#time_zone ⇒ Object
Returns the value of attribute time_zone.
6 7 8 |
# File 'lib/google_oauth/calendar/calendar.rb', line 6 def time_zone @time_zone end |