Class: ResponderWithPutContent
- Inherits:
-
Roar::Rails::Responder
- Object
- Roar::Rails::Responder
- ResponderWithPutContent
- Defined in:
- lib/openstax/api/responder_with_put_content.rb
Overview
Instance Method Summary collapse
Instance Method Details
#api_behavior(*args, &block) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/openstax/api/responder_with_put_content.rb', line 4 def api_behavior(*args, &block) if put? display resource, :status => :ok else super end end |