Class: RobotArmy::Messenger
Instance Attribute Summary collapse
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(input, output) ⇒ Messenger
constructor
A new instance of Messenger.
- #post(response) ⇒ Object
Constructor Details
#initialize(input, output) ⇒ Messenger
Returns a new instance of Messenger.
5 6 7 |
# File 'lib/robot-army/messenger.rb', line 5 def initialize(input, output) @input, @output = input, output end |
Instance Attribute Details
#input ⇒ Object (readonly)
Returns the value of attribute input.
3 4 5 |
# File 'lib/robot-army/messenger.rb', line 3 def input @input end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
3 4 5 |
# File 'lib/robot-army/messenger.rb', line 3 def output @output end |