Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/bot_delive.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &block) ⇒ Object
25 26 27 |
# File 'lib/bot_delive.rb', line 25 def method_missing(m, *args, &block) return self["#{m}".camelize(:lower)] end |
Instance Method Details
#success? ⇒ Boolean
21 22 23 |
# File 'lib/bot_delive.rb', line 21 def success? return self["success"] end |