Class: BabySMS::WebApplication
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- BabySMS::WebApplication
- Defined in:
- lib/babysms/web_application.rb
Instance Method Summary collapse
Instance Method Details
#error_response(code, msg) ⇒ Object
14 15 16 |
# File 'lib/babysms/web_application.rb', line 14 def error_response(code, msg) [code, { 'Content-Type' => 'text/plain' }, msg] end |