Class: OutlookCalendar::UserEvents
- Inherits:
-
Object
- Object
- OutlookCalendar::UserEvents
- Defined in:
- lib/outlook_calendar/event/user_events.rb
Instance Attribute Summary collapse
-
#calendar_id ⇒ Object
readonly
Returns the value of attribute calendar_id.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(token, params, calendar_id = nil) ⇒ UserEvents
constructor
A new instance of UserEvents.
Constructor Details
#initialize(token, params, calendar_id = nil) ⇒ UserEvents
Returns a new instance of UserEvents.
5 6 7 8 9 |
# File 'lib/outlook_calendar/event/user_events.rb', line 5 def initialize(token, params, calendar_id = nil) @token = token @params = params @calendar_id = calendar_id end |
Instance Attribute Details
#calendar_id ⇒ Object (readonly)
Returns the value of attribute calendar_id.
3 4 5 |
# File 'lib/outlook_calendar/event/user_events.rb', line 3 def calendar_id @calendar_id end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
3 4 5 |
# File 'lib/outlook_calendar/event/user_events.rb', line 3 def params @params end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
3 4 5 |
# File 'lib/outlook_calendar/event/user_events.rb', line 3 def token @token end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'lib/outlook_calendar/event/user_events.rb', line 11 def call events end |