Class: RubyPtvApi::Operation::XRoute::Base
- Defined in:
- lib/ruby_ptv_api/operation/x_route/base.rb
Direct Known Subclasses
CalcutateReachableObjects, CalcutateRoute, CalcutateRouteInfo
Instance Attribute Summary collapse
-
#result_field_array ⇒ Object
readonly
Returns the value of attribute result_field_array.
-
#search_option_base_array ⇒ Object
readonly
Returns the value of attribute search_option_base_array.
-
#sort_option_array ⇒ Object
readonly
Returns the value of attribute sort_option_array.
Attributes inherited from Base
Instance Method Summary collapse
-
#call ⇒ Object
(options: nil, sorting: nil, additional_fields: nil).
- #ptv_path ⇒ Object
Methods inherited from Base
#connection, #default_params, #demodulize, #demodulized_name, #endpoint, #parent_module_name, #post, #ptv_function, #underscore, #uri
Instance Attribute Details
#result_field_array ⇒ Object (readonly)
Returns the value of attribute result_field_array.
5 6 7 |
# File 'lib/ruby_ptv_api/operation/x_route/base.rb', line 5 def result_field_array @result_field_array end |
#search_option_base_array ⇒ Object (readonly)
Returns the value of attribute search_option_base_array.
5 6 7 |
# File 'lib/ruby_ptv_api/operation/x_route/base.rb', line 5 def search_option_base_array @search_option_base_array end |
#sort_option_array ⇒ Object (readonly)
Returns the value of attribute sort_option_array.
5 6 7 |
# File 'lib/ruby_ptv_api/operation/x_route/base.rb', line 5 def sort_option_array @sort_option_array end |
Instance Method Details
#call ⇒ Object
(options: nil, sorting: nil, additional_fields: nil)
11 12 13 14 |
# File 'lib/ruby_ptv_api/operation/x_route/base.rb', line 11 def call #(options: nil, sorting: nil, additional_fields: nil) response = post(params) parse_response(response) end |
#ptv_path ⇒ Object
7 8 9 |
# File 'lib/ruby_ptv_api/operation/x_route/base.rb', line 7 def ptv_path 'xroute/rs/XRoute' end |