Class: OutlookCalendar::UserEvents

Inherits:
Object
  • Object
show all
Defined in:
lib/outlook_calendar/event/user_events.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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

#paramsObject (readonly)

Returns the value of attribute params.



3
4
5
# File 'lib/outlook_calendar/event/user_events.rb', line 3

def params
  @params
end

#tokenObject (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

#callObject



11
12
13
# File 'lib/outlook_calendar/event/user_events.rb', line 11

def call
  events
end