Class: GoogleCalendarApiV2::Response::Event

Inherits:
Object
  • Object
show all
Includes:
Base, Base
Defined in:
lib/google_calendar_api_v2/response/event.rb

Instance Attribute Summary collapse

Attributes included from Base

#attributes, #response

Attributes included from Base

#connection

Instance Method Summary collapse

Methods included from Base

#[], #[]=, #destroy, #save, #to_json, #token, #update_attributes

Constructor Details

#initialize(response, connection, calendar) ⇒ Event

Returns a new instance of Event.



9
10
11
12
# File 'lib/google_calendar_api_v2/response/event.rb', line 9

def initialize(response, connection, calendar)
  super
  @calendar = calendar
end

Instance Attribute Details

#calendarObject (readonly)

Returns the value of attribute calendar.



7
8
9
# File 'lib/google_calendar_api_v2/response/event.rb', line 7

def calendar
  @calendar
end