webfleet_connect 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +4 -0
- data/lib/webfleet_connect/actions/actions.rb +2 -2
- data/lib/webfleet_connect/actions/trips.rb +2 -2
- data/lib/webfleet_connect/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14816ea8853247c03d3fa4919bc42f75323347d05131b831dacdd101636aceb0
|
|
4
|
+
data.tar.gz: b0bb671f69e98691ed3daed4cd468af690b13a8af24ba39297faba58029544b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4772d58d4e45a9c2695cbc072947a34311e49a74375d299e7316b589561e8d5c1588723e23005354b9fcdaa41d14ce6cde66ed6949d9de3c7b7e03a7c16cd5cc
|
|
7
|
+
data.tar.gz: 05314ddf361ddb56e41cd7e9a694cebdf7e136d2c6549e60aeb2c56dad150907c12b94a437d14a839f0173586aeb8503b7903e56e2c608184cd9e410e8135004
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -10,6 +10,10 @@ Gem to consume WEBFLEET.connect API.
|
|
|
10
10
|
|
|
11
11
|
The WEBFLEET.connect API connects software applications with the Webfleet fleet management solution. Via WEBFLEET.connect you can enhance the value of all types of business solutions, including routing and scheduling optimization, ERP, Transport Management System (TMS), supply chain planning, asset management, and much more.
|
|
12
12
|
|
|
13
|
+
Check also the version for:
|
|
14
|
+
|
|
15
|
+
- [javascript](https://github.com/movomx/webfleet_connect_js)
|
|
16
|
+
|
|
13
17
|
## Installation
|
|
14
18
|
|
|
15
19
|
Add this line to your application's Gemfile:
|
|
@@ -3,8 +3,8 @@ require_relative '../helpers/case_helper'
|
|
|
3
3
|
module WebfleetConnect::Actions
|
|
4
4
|
include WebfleetConnect::Helpers::CaseHelper
|
|
5
5
|
|
|
6
|
-
def add_action(action_name)
|
|
7
|
-
action_string = snake_to_cammel(action_name.to_s)
|
|
6
|
+
def add_action(action_name, real_name = nil)
|
|
7
|
+
action_string = real_name || snake_to_cammel(action_name.to_s)
|
|
8
8
|
class_eval %Q{
|
|
9
9
|
def #{action_name}(args = {})
|
|
10
10
|
exec WebfleetConnect::Actions::Action.new('#{action_string}', args)
|
|
@@ -15,7 +15,7 @@ module WebfleetConnect::Actions::Trips
|
|
|
15
15
|
add_action :show_working_times
|
|
16
16
|
add_action :show_stand_stills
|
|
17
17
|
add_action :show_idle_exceptions
|
|
18
|
-
add_action
|
|
19
|
-
add_action
|
|
18
|
+
add_action(:get_object_kpis, 'getObjectKPIs')
|
|
19
|
+
add_action(:get_driver_kpis, 'getDriverKPIs')
|
|
20
20
|
add_action :get_remaining_driving_times_eu
|
|
21
21
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: webfleet_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- alex
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-08
|
|
11
|
+
date: 2023-09-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
155
155
|
- !ruby/object:Gem::Version
|
|
156
156
|
version: '0'
|
|
157
157
|
requirements: []
|
|
158
|
-
rubygems_version: 3.
|
|
158
|
+
rubygems_version: 3.4.19
|
|
159
159
|
signing_key:
|
|
160
160
|
specification_version: 4
|
|
161
161
|
summary: Gem to consume Webfleet connect api.
|