Class: ActionWebService::Protocol::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/action_web_service/protocol/abstract.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(body, content_type, return_value) ⇒ Response

Returns a new instance of Response.



67
68
69
70
71
# File 'lib/action_web_service/protocol/abstract.rb', line 67

def initialize(body, content_type, return_value)
  @body = body
  @content_type = content_type
  @return_value = return_value
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



63
64
65
# File 'lib/action_web_service/protocol/abstract.rb', line 63

def body
  @body
end

#content_typeObject (readonly)

Returns the value of attribute content_type.



64
65
66
# File 'lib/action_web_service/protocol/abstract.rb', line 64

def content_type
  @content_type
end

#return_valueObject (readonly)

Returns the value of attribute return_value.



65
66
67
# File 'lib/action_web_service/protocol/abstract.rb', line 65

def return_value
  @return_value
end