Class: ApiTransformer::Route::Response
- Inherits:
-
Struct
- Object
- Struct
- ApiTransformer::Route::Response
- Defined in:
- lib/api_transformer/route.rb
Overview
For passing back a header and status
Instance Attribute Summary collapse
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Attribute Details
#headers ⇒ Object
Returns the value of attribute headers
7 8 9 |
# File 'lib/api_transformer/route.rb', line 7 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status
7 8 9 |
# File 'lib/api_transformer/route.rb', line 7 def status @status end |