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.



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

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.



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

def body
  @body
end

#content_typeObject (readonly)

Returns the value of attribute content_type.



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

def content_type
  @content_type
end

#return_valueObject (readonly)

Returns the value of attribute return_value.



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

def return_value
  @return_value
end