Class: RubyPtvApi::Operation::XRoute::CalcutateReachableObjects
- Defined in:
- lib/ruby_ptv_api/operation/x_route/calculate_reachable_objects.rb
Instance Attribute Summary collapse
-
#binaryPathDesc ⇒ Object
readonly
Returns the value of attribute binaryPathDesc.
-
#expansionDesc ⇒ Object
readonly
Returns the value of attribute expansionDesc.
-
#locations ⇒ Object
readonly
Returns the value of attribute locations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#sink ⇒ Object
readonly
Returns the value of attribute sink.
Attributes inherited from Base
#result_field_array, #search_option_base_array, #sort_option_array
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(binaryPathDesc:, locations:, expansionDesc:, sink: nil, options: []) ⇒ CalcutateReachableObjects
constructor
A new instance of CalcutateReachableObjects.
- #params ⇒ Object
- #ptv_function ⇒ Object
Methods inherited from Base
Methods inherited from Base
#connection, #default_params, #demodulize, #demodulized_name, #endpoint, #parent_module_name, #post, #ptv_path, #underscore, #uri
Constructor Details
#initialize(binaryPathDesc:, locations:, expansionDesc:, sink: nil, options: []) ⇒ CalcutateReachableObjects
Returns a new instance of CalcutateReachableObjects.
7 8 9 10 11 12 13 |
# File 'lib/ruby_ptv_api/operation/x_route/calculate_reachable_objects.rb', line 7 def initialize(binaryPathDesc:, locations:, expansionDesc:, sink: nil, options: []) @sink = sink @binaryPathDesc = binaryPathDesc @locations = locations @options = @expansionDesc = expansionDesc end |
Instance Attribute Details
#binaryPathDesc ⇒ Object (readonly)
Returns the value of attribute binaryPathDesc.
5 6 7 |
# File 'lib/ruby_ptv_api/operation/x_route/calculate_reachable_objects.rb', line 5 def binaryPathDesc @binaryPathDesc end |
#expansionDesc ⇒ Object (readonly)
Returns the value of attribute expansionDesc.
5 6 7 |
# File 'lib/ruby_ptv_api/operation/x_route/calculate_reachable_objects.rb', line 5 def expansionDesc @expansionDesc end |
#locations ⇒ Object (readonly)
Returns the value of attribute locations.
5 6 7 |
# File 'lib/ruby_ptv_api/operation/x_route/calculate_reachable_objects.rb', line 5 def locations @locations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/ruby_ptv_api/operation/x_route/calculate_reachable_objects.rb', line 5 def @options end |
#sink ⇒ Object (readonly)
Returns the value of attribute sink.
5 6 7 |
# File 'lib/ruby_ptv_api/operation/x_route/calculate_reachable_objects.rb', line 5 def sink @sink end |
Instance Method Details
#params ⇒ Object
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/ruby_ptv_api/operation/x_route/calculate_reachable_objects.rb', line 19 def params prms = { binaryPathDesc: binaryPathDesc, locations: locations, options: , expansionDesc: expansionDesc, } prms.merge!({ sink: sink }) if sink prms end |
#ptv_function ⇒ Object
15 16 17 |
# File 'lib/ruby_ptv_api/operation/x_route/calculate_reachable_objects.rb', line 15 def ptv_function 'calculateReachableObjects' end |