Class: CuffSert::MessageAction

Inherits:
BaseAction show all
Defined in:
lib/cuffsert/actions.rb

Instance Attribute Summary

Attributes inherited from BaseAction

#cfclient, #confirmation, #s3client

Instance Method Summary collapse

Methods inherited from BaseAction

#upload_template_if_oversized

Constructor Details

#initialize(message) ⇒ MessageAction

Returns a new instance of MessageAction.



39
40
41
42
# File 'lib/cuffsert/actions.rb', line 39

def initialize(message)
  super(nil, nil)
  @message = message
end

Instance Method Details

#as_observableObject



47
48
49
# File 'lib/cuffsert/actions.rb', line 47

def as_observable
  @message.as_observable
end

#validate!Object



44
45
# File 'lib/cuffsert/actions.rb', line 44

def validate!
end