Class: ImgFlip
- Inherits:
-
Jarvis::Service
- Object
- Jarvis::Service
- ImgFlip
- Defined in:
- lib/jarvis/services/img_flip.rb
Instance Attribute Summary collapse
-
#meme_link ⇒ Object
Returns the value of attribute meme_link.
Attributes inherited from Jarvis::Service
Instance Method Summary collapse
Methods inherited from Jarvis::Service
environment, #initialize, interpreter_pattern, invoke_with, #method_missing, phrases, #validate_environment
Constructor Details
This class inherits a constructor from Jarvis::Service
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Jarvis::Service
Instance Attribute Details
permalink #meme_link ⇒ Object
Returns the value of attribute meme_link.
24 25 26 |
# File 'lib/jarvis/services/img_flip.rb', line 24 def meme_link @meme_link end |
Instance Method Details
permalink #run ⇒ Object
[View source]
26 27 28 |
# File 'lib/jarvis/services/img_flip.rb', line 26 def run "Here you go, #{user_name}\n\n#{meme_link}" end |