Class: ServiceStack::StringResponse
- Inherits:
-
Object
- Object
- ServiceStack::StringResponse
- Includes:
- DTO
- Defined in:
- lib/servicestack/types.rb
Overview
Returned by APIs that return a single string result.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#response_status ⇒ Object
Returns the value of attribute response_status.
-
#result ⇒ Object
Returns the value of attribute result.
Class Method Summary collapse
Methods included from DTO
#==, included, #initialize, #inspect, #to_hash, #to_json
Instance Attribute Details
#meta ⇒ Object
Returns the value of attribute meta.
75 76 77 |
# File 'lib/servicestack/types.rb', line 75 def @meta end |
#response_status ⇒ Object
Returns the value of attribute response_status.
75 76 77 |
# File 'lib/servicestack/types.rb', line 75 def response_status @response_status end |
#result ⇒ Object
Returns the value of attribute result.
75 76 77 |
# File 'lib/servicestack/types.rb', line 75 def result @result end |
Class Method Details
.properties ⇒ Object
77 78 79 80 81 82 83 |
# File 'lib/servicestack/types.rb', line 77 def self.properties { result: { name: 'result' }, meta: { name: 'meta' }, response_status: { name: 'responseStatus', type: ResponseStatus }, } end |