Class: GoogleCalendarApiV2::Response::Event
- Inherits:
-
Object
- Object
- GoogleCalendarApiV2::Response::Event
- Defined in:
- lib/google_calendar_api_v2/response/event.rb
Instance Attribute Summary collapse
-
#calendar ⇒ Object
readonly
Returns the value of attribute calendar.
Attributes included from Base
Attributes included from Base
Instance Method Summary collapse
-
#initialize(response, connection, calendar) ⇒ Event
constructor
A new instance of Event.
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
#calendar ⇒ Object (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 |