Class: Ellen::Github::Actions::Remember

Inherits:
Base
  • Object
show all
Defined in:
lib/ellen/github/actions/remember.rb

Constant Summary

Constants inherited from Base

Base::NAMESPACE

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Remember

Returns a new instance of Remember.



7
8
9
10
# File 'lib/ellen/github/actions/remember.rb', line 7

def initialize(options)
  @message = options[:message]
  @robot = options[:robot]
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



5
6
7
# File 'lib/ellen/github/actions/remember.rb', line 5

def message
  @message
end

#robotObject (readonly)

Returns the value of attribute robot.



5
6
7
# File 'lib/ellen/github/actions/remember.rb', line 5

def robot
  @robot
end

Instance Method Details

#callObject



12
13
14
15
# File 'lib/ellen/github/actions/remember.rb', line 12

def call
  remember
  report
end