Class: OutlookCalendar::CreateEvent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token, calendar_id, params, select = {}) ⇒ CreateEvent

Returns a new instance of CreateEvent.



5
6
7
8
9
10
# File 'lib/outlook_calendar/event/create_event.rb', line 5

def initialize(token, calendar_id, params, select = {})
  @token = token
  @calendar_id = calendar_id
  @params = params
  @select = select
end

Instance Attribute Details

#calendar_idObject (readonly)

Returns the value of attribute calendar_id.



3
4
5
# File 'lib/outlook_calendar/event/create_event.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/create_event.rb', line 3

def params
  @params
end

#selectObject (readonly)

Returns the value of attribute select.



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

def select
  @select
end

#tokenObject (readonly)

Returns the value of attribute token.



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

def token
  @token
end

Instance Method Details

#callObject



12
13
14
# File 'lib/outlook_calendar/event/create_event.rb', line 12

def call
  create_event
end