Class: ODDB::State::Notify::Notification

Inherits:
Object
  • Object
show all
Defined in:
src/state/notify.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) item

Returns the value of attribute item



11
12
13
# File 'src/state/notify.rb', line 11

def item
  @item
end

- (Object) name

Returns the value of attribute name



11
12
13
# File 'src/state/notify.rb', line 11

def name
  @name
end

- (Object) notify_message

Returns the value of attribute notify_message



11
12
13
# File 'src/state/notify.rb', line 11

def notify_message
  @notify_message
end

- (Object) notify_recipient

Returns the value of attribute notify_recipient



11
12
13
# File 'src/state/notify.rb', line 11

def notify_recipient
  @notify_recipient
end

- (Object) notify_sender

Returns the value of attribute notify_sender



11
12
13
# File 'src/state/notify.rb', line 11

def notify_sender
  @notify_sender
end

Instance Method Details

- (Boolean) empty?

Returns:

  • (Boolean)


13
14
15
16
17
18
19
20
# File 'src/state/notify.rb', line 13

def empty?
  [
    @name,
    @notify_sender, 
    @notify_recipient,
    @notify_message,
  ].join.empty?
end