Class: OutlookCalendar::DeleteEvent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token, event_id) ⇒ DeleteEvent

Returns a new instance of DeleteEvent.



5
6
7
8
# File 'lib/outlook_calendar/event/delete_event.rb', line 5

def initialize(token, event_id)
  @token = token
  @event_id = event_id
end

Instance Attribute Details

#event_idObject (readonly)

Returns the value of attribute event_id.



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

def event_id
  @event_id
end

#tokenObject (readonly)

Returns the value of attribute token.



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

def token
  @token
end

Instance Method Details

#callObject



10
11
12
# File 'lib/outlook_calendar/event/delete_event.rb', line 10

def call
  delete_event
end