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
metadata ADDED
@@ -0,0 +1,161 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: webfleet_connect
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - alex
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.21.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.21.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 2.6.3
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 2.6.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: csv
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.2'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 3.2.7
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '3.2'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 3.2.7
61
+ - !ruby/object:Gem::Dependency
62
+ name: rspec
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.2'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.2'
75
+ description: The WEBFLEET.connect API connects software appli­ca­tions with the Webfleet
76
+ fleet management solution. Via WEBFLEET.connect you can enhance the value of all
77
+ types of business solutions, including routing and scheduling optimization, ERP,
78
+ Transport Management System (TMS), supply chain planning, asset management, and
79
+ much more.
80
+ email:
81
+ - alex.guajardo@movomx.com
82
+ executables: []
83
+ extensions: []
84
+ extra_rdoc_files: []
85
+ files:
86
+ - Gemfile
87
+ - Gemfile.lock
88
+ - LICENSE
89
+ - README.md
90
+ - Rakefile
91
+ - bin/console
92
+ - bin/setup
93
+ - lib/webfleet_connect.rb
94
+ - lib/webfleet_connect/actions/action.rb
95
+ - lib/webfleet_connect/actions/actions.rb
96
+ - lib/webfleet_connect/actions/addresses.rb
97
+ - lib/webfleet_connect/actions/drivers.rb
98
+ - lib/webfleet_connect/actions/events.rb
99
+ - lib/webfleet_connect/actions/geocoding.rb
100
+ - lib/webfleet_connect/actions/messages.rb
101
+ - lib/webfleet_connect/actions/miscellaneous.rb
102
+ - lib/webfleet_connect/actions/objects.rb
103
+ - lib/webfleet_connect/actions/orders.rb
104
+ - lib/webfleet_connect/actions/trips.rb
105
+ - lib/webfleet_connect/builder.rb
106
+ - lib/webfleet_connect/connection.rb
107
+ - lib/webfleet_connect/credentials.rb
108
+ - lib/webfleet_connect/default_config.rb
109
+ - lib/webfleet_connect/enums/devices.rb
110
+ - lib/webfleet_connect/enums/special_vehicle_types.rb
111
+ - lib/webfleet_connect/enums/vehicle_types.rb
112
+ - lib/webfleet_connect/error.rb
113
+ - lib/webfleet_connect/format_handlers/csv_error_parser.rb
114
+ - lib/webfleet_connect/format_handlers/csv_response_error_parser.rb
115
+ - lib/webfleet_connect/format_handlers/csv_response_parser.rb
116
+ - lib/webfleet_connect/format_handlers/error_parser.rb
117
+ - lib/webfleet_connect/format_handlers/json_error_parser.rb
118
+ - lib/webfleet_connect/format_handlers/json_response_parser.rb
119
+ - lib/webfleet_connect/helpers.rb
120
+ - lib/webfleet_connect/helpers/case_helper.rb
121
+ - lib/webfleet_connect/helpers/class_helper.rb
122
+ - lib/webfleet_connect/helpers/date_format_helper.rb
123
+ - lib/webfleet_connect/helpers/encoding_helper.rb
124
+ - lib/webfleet_connect/params/default_param.rb
125
+ - lib/webfleet_connect/params/param.rb
126
+ - lib/webfleet_connect/params/params.rb
127
+ - lib/webfleet_connect/params/params_factory.rb
128
+ - lib/webfleet_connect/params/range_pattern.rb
129
+ - lib/webfleet_connect/params/rangefrom_string.rb
130
+ - lib/webfleet_connect/params/rangeto_string.rb
131
+ - lib/webfleet_connect/response.rb
132
+ - lib/webfleet_connect/session.rb
133
+ - lib/webfleet_connect/version.rb
134
+ - sig/webfleet_connect.rbs
135
+ - webfleet_connect.gemspec
136
+ homepage: https://movomx.com
137
+ licenses: []
138
+ metadata:
139
+ homepage_uri: https://github.com/movomx/webfleet_connect
140
+ source_code_uri: https://github.com/movomx/webfleet_connect
141
+ changelog_uri: https://github.com/movomx/webfleet_connect
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: 2.6.0
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ requirements: []
157
+ rubygems_version: 3.2.33
158
+ signing_key:
159
+ specification_version: 4
160
+ summary: Gem to consume Webfleet connect api.
161
+ test_files: []