webfleet_connect 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +8 -0
  3. data/Gemfile.lock +44 -0
  4. data/LICENSE +674 -0
  5. data/README.md +286 -0
  6. data/Rakefile +4 -0
  7. data/bin/console +15 -0
  8. data/bin/setup +8 -0
  9. data/lib/webfleet_connect/actions/action.rb +24 -0
  10. data/lib/webfleet_connect/actions/actions.rb +14 -0
  11. data/lib/webfleet_connect/actions/addresses.rb +17 -0
  12. data/lib/webfleet_connect/actions/drivers.rb +23 -0
  13. data/lib/webfleet_connect/actions/events.rb +15 -0
  14. data/lib/webfleet_connect/actions/geocoding.rb +9 -0
  15. data/lib/webfleet_connect/actions/messages.rb +13 -0
  16. data/lib/webfleet_connect/actions/miscellaneous.rb +13 -0
  17. data/lib/webfleet_connect/actions/objects.rb +28 -0
  18. data/lib/webfleet_connect/actions/orders.rb +19 -0
  19. data/lib/webfleet_connect/actions/trips.rb +21 -0
  20. data/lib/webfleet_connect/builder.rb +13 -0
  21. data/lib/webfleet_connect/connection.rb +39 -0
  22. data/lib/webfleet_connect/credentials.rb +53 -0
  23. data/lib/webfleet_connect/default_config.rb +46 -0
  24. data/lib/webfleet_connect/enums/devices.rb +10 -0
  25. data/lib/webfleet_connect/enums/special_vehicle_types.rb +7 -0
  26. data/lib/webfleet_connect/enums/vehicle_types.rb +49 -0
  27. data/lib/webfleet_connect/error.rb +34 -0
  28. data/lib/webfleet_connect/format_handlers/csv_error_parser.rb +16 -0
  29. data/lib/webfleet_connect/format_handlers/csv_response_error_parser.rb +11 -0
  30. data/lib/webfleet_connect/format_handlers/csv_response_parser.rb +25 -0
  31. data/lib/webfleet_connect/format_handlers/error_parser.rb +11 -0
  32. data/lib/webfleet_connect/format_handlers/json_error_parser.rb +17 -0
  33. data/lib/webfleet_connect/format_handlers/json_response_parser.rb +9 -0
  34. data/lib/webfleet_connect/helpers/case_helper.rb +18 -0
  35. data/lib/webfleet_connect/helpers/class_helper.rb +5 -0
  36. data/lib/webfleet_connect/helpers/date_format_helper.rb +13 -0
  37. data/lib/webfleet_connect/helpers/encoding_helper.rb +8 -0
  38. data/lib/webfleet_connect/helpers.rb +2 -0
  39. data/lib/webfleet_connect/params/default_param.rb +16 -0
  40. data/lib/webfleet_connect/params/param.rb +23 -0
  41. data/lib/webfleet_connect/params/params.rb +2 -0
  42. data/lib/webfleet_connect/params/params_factory.rb +22 -0
  43. data/lib/webfleet_connect/params/range_pattern.rb +39 -0
  44. data/lib/webfleet_connect/params/rangefrom_string.rb +23 -0
  45. data/lib/webfleet_connect/params/rangeto_string.rb +9 -0
  46. data/lib/webfleet_connect/response.rb +33 -0
  47. data/lib/webfleet_connect/session.rb +44 -0
  48. data/lib/webfleet_connect/version.rb +5 -0
  49. data/lib/webfleet_connect.rb +10 -0
  50. data/sig/webfleet_connect.rbs +4 -0
  51. data/webfleet_connect.gemspec +33 -0
  52. metadata +161 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: cd7bb4f3c1e270c5d567ce1a3b7a876d2e77325dc0ceccdce798212ec0d02bac
4
+ data.tar.gz: 4aceeb6e7517ced274aab6c64ed481af1f61813de2f4b96903f748cfab9dcb48
5
+ SHA512:
6
+ metadata.gz: daf1f0aca012f1a5a2c6389fc959739f6c8ee3edebbfb0c3c41ee516fb90c879b4b2861cbcf1c6a932fce352aaca51ee15cd088b8c3f227b0a0b1c19010ce302
7
+ data.tar.gz: b486fe3c27993c4c1d45ab11f261d0b248221afa03f81c12f2a60404ca49acf580e893297b806fcd70ecc471a1726376deaf7d3191245e5bfd1e5aa2d3b97b1c
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in webfleet_connect.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,44 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ webfleet_connect (0.1.0)
5
+ csv (~> 3.2, >= 3.2.7)
6
+ httparty (~> 0.21.0)
7
+ json (= 2.6.3)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ csv (3.2.7)
13
+ diff-lcs (1.5.0)
14
+ httparty (0.21.0)
15
+ mini_mime (>= 1.0.0)
16
+ multi_xml (>= 0.5.2)
17
+ json (2.6.3)
18
+ mini_mime (1.1.5)
19
+ multi_xml (0.6.0)
20
+ rake (13.0.6)
21
+ rspec (3.12.0)
22
+ rspec-core (~> 3.12.0)
23
+ rspec-expectations (~> 3.12.0)
24
+ rspec-mocks (~> 3.12.0)
25
+ rspec-core (3.12.2)
26
+ rspec-support (~> 3.12.0)
27
+ rspec-expectations (3.12.3)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.12.0)
30
+ rspec-mocks (3.12.6)
31
+ diff-lcs (>= 1.2.0, < 2.0)
32
+ rspec-support (~> 3.12.0)
33
+ rspec-support (3.12.1)
34
+
35
+ PLATFORMS
36
+ x86_64-linux
37
+
38
+ DEPENDENCIES
39
+ rake (~> 13.0)
40
+ rspec (~> 3.2)
41
+ webfleet_connect!
42
+
43
+ BUNDLED WITH
44
+ 2.2.33