Class: Orchestrate::Application::Response
- Inherits:
-
Orchestrate::API::Response
- Object
- Orchestrate::API::Response
- Orchestrate::Application::Response
- Defined in:
- lib/orchestrate_application/response.rb
Overview
Inherits from Orchestrate::API::Response but
Classes to handle orchestrate.io API responses - HTTParty
Instance Attribute Summary collapse
-
#body ⇒ Object
writeonly
Sets the attribute body.
-
#header ⇒ Object
writeonly
Sets the attribute header.
-
#success ⇒ Object
writeonly
Sets the attribute success.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize {|_self| ... } ⇒ Response
Returns a new instance of Response.
10 11 12 |
# File 'lib/orchestrate_application/response.rb', line 10 def initialize yield self if block_given? end |
Instance Attribute Details
#body=(value) ⇒ Object (writeonly)
Sets the attribute body
8 9 10 |
# File 'lib/orchestrate_application/response.rb', line 8 def body=(value) @body = value end |
#header=(value) ⇒ Object (writeonly)
Sets the attribute header
8 9 10 |
# File 'lib/orchestrate_application/response.rb', line 8 def header=(value) @header = value end |
#success=(value) ⇒ Object (writeonly)
Sets the attribute success
8 9 10 |
# File 'lib/orchestrate_application/response.rb', line 8 def success=(value) @success = value end |