Class: ActionService::Invocation::InvocationRequest
- Inherits:
-
Object
- Object
- ActionService::Invocation::InvocationRequest
- Defined in:
- lib/action_service/invocation.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#block_params ⇒ Object
readonly
Returns the value of attribute block_params.
-
#method_name ⇒ Object
Returns the value of attribute method_name.
-
#params ⇒ Object
Returns the value of attribute params.
-
#public_method_name ⇒ Object
readonly
Returns the value of attribute public_method_name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #concrete? ⇒ Boolean
-
#initialize(type, public_method_name, method_name, params = nil) ⇒ InvocationRequest
constructor
A new instance of InvocationRequest.
- #unexported_concrete? ⇒ Boolean
Constructor Details
#initialize(type, public_method_name, method_name, params = nil) ⇒ InvocationRequest
Returns a new instance of InvocationRequest.
235 236 237 238 239 240 241 242 |
# File 'lib/action_service/invocation.rb', line 235 def initialize(type, public_method_name, method_name, params=nil) @type = type @public_method_name = public_method_name @method_name = method_name @params = params || [] @block = nil @block_params = [] end |
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
232 233 234 |
# File 'lib/action_service/invocation.rb', line 232 def block @block end |
#block_params ⇒ Object (readonly)
Returns the value of attribute block_params.
233 234 235 |
# File 'lib/action_service/invocation.rb', line 233 def block_params @block_params end |
#method_name ⇒ Object
Returns the value of attribute method_name.
230 231 232 |
# File 'lib/action_service/invocation.rb', line 230 def method_name @method_name end |
#params ⇒ Object
Returns the value of attribute params.
231 232 233 |
# File 'lib/action_service/invocation.rb', line 231 def params @params end |
#public_method_name ⇒ Object (readonly)
Returns the value of attribute public_method_name.
229 230 231 |
# File 'lib/action_service/invocation.rb', line 229 def public_method_name @public_method_name end |
#type ⇒ Object
Returns the value of attribute type.
228 229 230 |
# File 'lib/action_service/invocation.rb', line 228 def type @type end |
Instance Method Details
#concrete? ⇒ Boolean
244 245 246 |
# File 'lib/action_service/invocation.rb', line 244 def concrete? @type == ConcreteInvocation ? true : false end |
#unexported_concrete? ⇒ Boolean
248 249 250 |
# File 'lib/action_service/invocation.rb', line 248 def unexported_concrete? @type == UnexportedConcreteInvocation ? true : false end |