Class: GoogleOAuth::Calendar::Calendar

Inherits:
Object
  • Object
show all
Defined in:
lib/google_oauth/calendar/calendar.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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_roleObject

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_idObject

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

#descriptionObject

Returns the value of attribute description.



6
7
8
# File 'lib/google_oauth/calendar/calendar.rb', line 6

def description
  @description
end

#etagObject

Returns the value of attribute etag.



6
7
8
# File 'lib/google_oauth/calendar/calendar.rb', line 6

def etag
  @etag
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/google_oauth/calendar/calendar.rb', line 6

def id
  @id
end

#summaryObject

Returns the value of attribute summary.



6
7
8
# File 'lib/google_oauth/calendar/calendar.rb', line 6

def summary
  @summary
end

#time_zoneObject

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