Class: ActionService::Protocol::ServiceRequestInfo
- Inherits:
-
Object
- Object
- ActionService::Protocol::ServiceRequestInfo
- Defined in:
- lib/action_service/protocol/abstract.rb
Instance Attribute Summary collapse
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#protocol_info ⇒ Object
readonly
Returns the value of attribute protocol_info.
-
#public_method_name ⇒ Object
readonly
Returns the value of attribute public_method_name.
-
#raw_body ⇒ Object
readonly
Returns the value of attribute raw_body.
-
#service_name ⇒ Object
readonly
Returns the value of attribute service_name.
Instance Method Summary collapse
-
#initialize(service_name, public_method_name, raw_body, content_type, protocol_info = nil) ⇒ ServiceRequestInfo
constructor
A new instance of ServiceRequestInfo.
Constructor Details
#initialize(service_name, public_method_name, raw_body, content_type, protocol_info = nil) ⇒ ServiceRequestInfo
Returns a new instance of ServiceRequestInfo.
74 75 76 77 78 79 80 |
# File 'lib/action_service/protocol/abstract.rb', line 74 def initialize(service_name, public_method_name, raw_body, content_type, protocol_info=nil) @service_name = service_name @public_method_name = public_method_name @raw_body = raw_body @content_type = content_type @protocol_info = protocol_info end |
Instance Attribute Details
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type.
71 72 73 |
# File 'lib/action_service/protocol/abstract.rb', line 71 def content_type @content_type end |
#protocol_info ⇒ Object (readonly)
Returns the value of attribute protocol_info.
72 73 74 |
# File 'lib/action_service/protocol/abstract.rb', line 72 def protocol_info @protocol_info end |
#public_method_name ⇒ Object (readonly)
Returns the value of attribute public_method_name.
69 70 71 |
# File 'lib/action_service/protocol/abstract.rb', line 69 def public_method_name @public_method_name end |
#raw_body ⇒ Object (readonly)
Returns the value of attribute raw_body.
70 71 72 |
# File 'lib/action_service/protocol/abstract.rb', line 70 def raw_body @raw_body end |
#service_name ⇒ Object (readonly)
Returns the value of attribute service_name.
68 69 70 |
# File 'lib/action_service/protocol/abstract.rb', line 68 def service_name @service_name end |