class AddCalendarEntryAction

Category: Logging

Public Class Methods

new(h={}) click to toggle source
Calls superclass method LoggingAction::new
# File lib/ruby-macrodroid/actions.rb, line 1777
def initialize(h={})

  options = {
    title: '',
    duration_value: '0',
    calendar_id: '3',
    detail: '',
    availability: 0,
    fixed_days: 16,
    fixed_hour: 0,
    fixed_minute: 0,
    fixed_months: 8,
    fixed_time: true,
    relative_days: 0,
    relative_hours: 0,
    relative_minutes: 0,
    all_day_event: true
  }

  super(options.merge h)

end

Public Instance Methods

to_s(colour: false, indent: 0) click to toggle source
# File lib/ruby-macrodroid/actions.rb, line 1800
def to_s(colour: false, indent: 0)
  'AddCalendarEntryAction ' + @h.inspect
end
Also aliased as: to_summary
to_summary(colour: false, indent: 0)
Alias for: to_s