Class: Orchestrate::Application::Response

Inherits:
Orchestrate::API::Response
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Response

Returns a new instance of Response.

Yields:

  • (_self)

Yield Parameters:



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

Parameters:

  • value

    the value to set the attribute body to.



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

Parameters:

  • value

    the value to set the attribute header to.



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

Parameters:

  • value

    the value to set the attribute success to.



8
9
10
# File 'lib/orchestrate_application/response.rb', line 8

def success=(value)
  @success = value
end