webfleet_connect 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- 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/error.rb +4 -0
- 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: 013c2ae8833275ead72ee74deccec2c033f22c2668887a04251cf9021d0c3b01
|
4
|
+
data.tar.gz: affab0919bab1ab79f4c1396d6a43df1bf625a16d2636c67585e935100ba633d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5069da822667158ab7149c6e54522758ec8aa15236c6667ae18ba98df280c4e51d74ce06fe13dc2ea0973a4e53913db4fdf1f7139191ec2d41cf45531345f022
|
7
|
+
data.tar.gz: 2b1d7de7c87eff96d6792902b1abfd08de6521e8a2468222396eb8219be3fd9decfb044fb29673a7b3cfba6679b1da2e33d79c8cc83ec111638d7a44da220094
|
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.3
|
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.
|