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) ⇒ ServiceRequestInfo
constructor
A new instance of ServiceRequestInfo.
Constructor Details
#initialize(service_name, public_method_name, raw_body, content_type, protocol_info) ⇒ ServiceRequestInfo
Returns a new instance of ServiceRequestInfo.
41 42 43 44 45 46 47 |
# File 'lib/action_service/protocol/abstract.rb', line 41 def initialize(service_name, public_method_name, raw_body, content_type, protocol_info) @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.
38 39 40 |
# File 'lib/action_service/protocol/abstract.rb', line 38 def content_type @content_type end |
#protocol_info ⇒ Object (readonly)
Returns the value of attribute protocol_info.
39 40 41 |
# File 'lib/action_service/protocol/abstract.rb', line 39 def protocol_info @protocol_info end |
#public_method_name ⇒ Object (readonly)
Returns the value of attribute public_method_name.
36 37 38 |
# File 'lib/action_service/protocol/abstract.rb', line 36 def public_method_name @public_method_name end |
#raw_body ⇒ Object (readonly)
Returns the value of attribute raw_body.
37 38 39 |
# File 'lib/action_service/protocol/abstract.rb', line 37 def raw_body @raw_body end |
#service_name ⇒ Object (readonly)
Returns the value of attribute service_name.
35 36 37 |
# File 'lib/action_service/protocol/abstract.rb', line 35 def service_name @service_name end |