Class: OutlookCalendar::CreateEvent
- Inherits:
-
Object
- Object
- OutlookCalendar::CreateEvent
- Defined in:
- lib/outlook_calendar/event/create_event.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.
-
#select ⇒ Object
readonly
Returns the value of attribute select.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(token, calendar_id, params, select = {}) ⇒ CreateEvent
constructor
A new instance of CreateEvent.
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_id ⇒ Object (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 |
#params ⇒ Object (readonly)
Returns the value of attribute params.
3 4 5 |
# File 'lib/outlook_calendar/event/create_event.rb', line 3 def params @params end |
#select ⇒ Object (readonly)
Returns the value of attribute select.
3 4 5 |
# File 'lib/outlook_calendar/event/create_event.rb', line 3 def select @select end |
#token ⇒ Object (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
#call ⇒ Object
12 13 14 |
# File 'lib/outlook_calendar/event/create_event.rb', line 12 def call create_event end |