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

- (Response) initialize(body, content_type, return_value)

A new instance of Response



54
55
56
57
58
# File 'lib/action_web_service/protocol/abstract.rb', line 54

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

Instance Attribute Details

- (Object) body (readonly)

Returns the value of attribute body



50
51
52
# File 'lib/action_web_service/protocol/abstract.rb', line 50

def body
  @body
end

- (Object) content_type (readonly)

Returns the value of attribute content_type



51
52
53
# File 'lib/action_web_service/protocol/abstract.rb', line 51

def content_type
  @content_type
end

- (Object) return_value (readonly)

Returns the value of attribute return_value



52
53
54
# File 'lib/action_web_service/protocol/abstract.rb', line 52

def return_value
  @return_value
end