zaui_zapi 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6895797708a101030535d4af23599951ca25c4a3
4
- data.tar.gz: 721ca130713a7ef990e474bed2680138a5dbb8dd
3
+ metadata.gz: 2603818d4cbdef47080f90af717209755afd29f0
4
+ data.tar.gz: f4d5727dcfa29d39133d13b8762c5a0375d089e9
5
5
  SHA512:
6
- metadata.gz: 9ab22654091c58032f49c166eaf7f84b4a8e9dd48867c6a8a6900df9702e5e2d5deb0c40b1a1cb275140c21e708d5229c8bd018111387f5b7374e24330d7d45b
7
- data.tar.gz: 6e0a6e7d2447a5943928c1c9413e7458325cc02aa77752588a8029e60d4930e1c3d5265fbf9e27469a5c3ce3d1a7e63df30cb570b3538be41d2a34f404cca6ad
6
+ metadata.gz: 911be11613a1207627f3ceec5bd7479a691d95a48bfc86dcfafb6cbbaefb456eb6b2886a3c84f4f47d03d3084eed35769723f7ac58a6b8e724bfcfbf19a4985b
7
+ data.tar.gz: c2eca43692963b6d82db7b7fe9e388c0ac430a41066998a76362c6622925e1686432f81c42da89914de101ab91340d1b7b62aa0989a8495f397a7e4dc0552271
data/README.md CHANGED
@@ -1,2 +1,10 @@
1
- # zaui_zapi v 0.0.1
1
+ # zaui_zapi
2
2
  A gem to provide the communication layer with the Zaui.com zAPI and your application.
3
+
4
+ ### Installation
5
+ Add this to your project's Gemfile
6
+ ```gem 'zaui_zapi'```
7
+
8
+
9
+ #### Notes
10
+ This gem is currently under heavy development so watch this page regularly for new releases as they become available. There is plenty of work to do to get this gem usable for the entire zAPI interface, I encourge you to contribute.
data/lib/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION = '0.0.2'
1
+ VERSION = '0.1.0'
data/lib/zapi.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require 'net/http'
2
+ require 'uri'
3
+
1
4
  class Zapi
2
5
 
3
6
  attr_reader :uri, :response, :responder
@@ -4,13 +4,12 @@ class ZapiActivityCategories
4
4
 
5
5
  def initialize session:, zapi: nil, xml_generator: nil
6
6
  @zapi = zapi || Zapi.new()
7
- @generate_xml = xml_generator || ZapiXML.new()
7
+ @generate_xml = xml_generator || ZapiXML.new(session: session)
8
8
  @session = session
9
9
  end
10
10
 
11
11
  def index user_id: session.user_id, api_token: session.api_token
12
- categories_xml = generate_xml.get_activity_categories(user_id: user_id, api_token: api_token)
13
- puts categories_xml.inspect
12
+ categories_xml = generate_xml.get_activity_categories
14
13
  @response = zapi.request(xml: categories_xml)
15
14
  end
16
15
 
data/lib/zapi_agent.rb ADDED
@@ -0,0 +1,83 @@
1
+ class ZapiAgent
2
+
3
+ attr_reader :response, :zapi, :generate_xml, :responder
4
+
5
+ def initialize username:, password:, zapi: nil, xml_generator: nil, responder: nil
6
+ @zapi = zapi || Zapi.new()
7
+ @generate_xml = xml_generator || ZapiXML.new()
8
+ @responder = responder || ZapiObject
9
+ @response = _login username: username, password: password
10
+ end
11
+
12
+ def is_logged_in?
13
+ response_msg == "Login Successful" && _method_name == 'zapiAgentLogin'
14
+ end
15
+
16
+ def response_msg
17
+ response.try(:[],'methodErrorMessage')
18
+ end
19
+
20
+ def session_hash
21
+ {
22
+ user_id: _user_id,
23
+ account_id: _account_id,
24
+ account_type: _account_type,
25
+ cart_id: _cart_id,
26
+ api_token: _api_token,
27
+ username: _username,
28
+ firstname: _firstname,
29
+ lastname: _lastname,
30
+ fullname: _fullname
31
+ }
32
+ end
33
+
34
+ def session hash: session_hash
35
+ responder.new(hash: hash)
36
+ end
37
+
38
+ def _login username:, password:
39
+ login_xml = generate_xml.agent_login(username: username, password: password)
40
+ zapi.request(xml: login_xml)
41
+ end
42
+
43
+ def _user_id
44
+ response.try(:[],'zapiUserId').to_i
45
+ end
46
+
47
+ def _account_id
48
+ response.try(:[],'zapiAccountId').to_i
49
+ end
50
+
51
+ def _account_type
52
+ response.try(:[],'zapiAccountType').to_i
53
+ end
54
+
55
+ def _cart_id
56
+ response.try(:[],'cartId')
57
+ end
58
+
59
+ def _api_token
60
+ response.try(:[],'zapiApiToken')
61
+ end
62
+
63
+ def _username
64
+ response.try(:[],'zapiUsername')
65
+ end
66
+
67
+ def _firstname
68
+ response.try(:[],'firstName')
69
+ end
70
+
71
+ def _lastname
72
+ response.try(:[],'lastName')
73
+ end
74
+
75
+ def _fullname
76
+ [_firstname, _lastname].compact.join(" ") if _firstname || _lastname
77
+ end
78
+
79
+ def _method_name
80
+ response.try(:[],'methodName')
81
+ end
82
+
83
+ end
data/lib/zapi_employee.rb CHANGED
@@ -5,7 +5,7 @@ class ZapiEmployee
5
5
  def initialize username:, password:, zapi: nil, xml_generator: nil, responder: nil
6
6
  @zapi = zapi || Zapi.new()
7
7
  @generate_xml = xml_generator || ZapiXML.new()
8
- @responder = responder || ZapiSession
8
+ @responder = responder || ZapiObject
9
9
  @response = _login username: username, password: password
10
10
  end
11
11
 
@@ -32,11 +32,11 @@ class ZapiEmployee
32
32
  end
33
33
 
34
34
  def session hash: session_hash
35
- responder.new(session_hash: hash)
35
+ responder.new(hash: hash)
36
36
  end
37
37
 
38
38
  def _login username:, password:
39
- login_xml = generate_xml.login(username: username, password: Digest::MD5.hexdigest(password))
39
+ login_xml = generate_xml.agent_login(username: username, password: Digest::MD5.hexdigest(password))
40
40
  zapi.request(xml: login_xml)
41
41
  end
42
42
 
@@ -1,7 +1,7 @@
1
- class ZapiSession
1
+ class ZapiObject
2
2
 
3
- def initialize session_hash:
4
- _generate hash: session_hash
3
+ def initialize hash:
4
+ _generate hash: hash
5
5
  end
6
6
 
7
7
  def _generate hash:
@@ -0,0 +1,21 @@
1
+ class ZapiPackageCategories
2
+
3
+ attr_reader :response, :zapi, :generate_xml, :session
4
+
5
+ def initialize session:, zapi: nil, xml_generator: nil
6
+ @zapi = zapi || Zapi.new()
7
+ @generate_xml = xml_generator || ZapiXML.new(session: session)
8
+ @session = session
9
+ end
10
+
11
+ def index user_id: session.user_id, api_token: session.api_token
12
+ categories_xml = generate_xml.get_package_categories
13
+ @response = zapi.request(xml: categories_xml)
14
+ end
15
+
16
+ def to_a
17
+ # convert received categoires to enumberable array
18
+
19
+ end
20
+
21
+ end
data/lib/zapi_response.rb CHANGED
@@ -11,7 +11,7 @@ class Zapi::ZapiResponse
11
11
  end
12
12
 
13
13
  def raw_hash
14
- Hash.from_xml raw_xml
14
+ Hash.from_xml(raw_xml).with_indifferent_access
15
15
  end
16
16
 
17
17
  def api_version
data/lib/zapi_xml.rb CHANGED
@@ -1,44 +1,313 @@
1
1
  class ZapiXML
2
2
 
3
- def login username:, password:
4
- _wrap_xml_request({
5
- zapiUsername: username,
6
- zapiPassword: password,
7
- zapiMethod: {
8
- methodName: 'zapiMobileLogin',
9
- mobileData: {
10
- mobileDeviceData: {
11
- model: '',
12
- name: '',
13
- systemName: '',
14
- systemVersion: ''
15
- },
16
- iosLocationServiceData: {
17
- altitude: '',
18
- coordinate: '',
19
- course: '',
20
- horizontalAccuracy: '',
21
- verticalAccuracy: '',
22
- speed: '',
23
- timeStamp: '',
24
- }
3
+ attr_reader :session
4
+
5
+ def initialize session: nil
6
+ @session = session
7
+ end
8
+
9
+ def agent_login username:, password:
10
+ _wrap_xml_request(
11
+ { "methodName" => 'zapiAgentLogin' },
12
+ { "zapiUsername" => username, "zapiPassword" => password }
13
+ )
14
+ end
15
+
16
+ def mobile_login username:, password:
17
+ _wrap_xml_request(
18
+ { "methodName" => 'zapiMobileLogin' },
19
+ { "zapiUsername" => username, "zapiPassword" => password }
20
+ )
21
+ end
22
+
23
+ def get_package_categories
24
+ _wrap_xml_request({
25
+ "methodName" => 'zapiGetPackageCategories'
26
+ })
27
+ end
28
+
29
+ def get_packages_by_category_id id
30
+ _wrap_xml_request({
31
+ "methodName" => 'zapiGetPackagesByCategoryId',
32
+ "categoryId" => id
33
+ })
34
+ end
35
+
36
+ def get_package_details_by_package_id id
37
+ _wrap_xml_request({
38
+ "methodName" => 'zapiGetPackageDetailsByPackageId',
39
+ "packageId" => id
40
+ })
41
+ end
42
+
43
+ def add_package_to_cart hash: {}
44
+ _wrap_xml_request({
45
+ "methodName" => "zapiAddPackageToCart",
46
+ "cartId" => session.cart_id,
47
+ "packageId" => hash[:package_id],
48
+ "passengers" => {
49
+ "adults" => hash[:adults].to_i,
50
+ "students" => hash[:students].to_i,
51
+ "children" => hash[:children].to_i
52
+ },
53
+ "activities" => _activities(hash[:activities]),
54
+ "products" => nil
55
+ })
56
+ end
57
+
58
+ def get_activity_categories
59
+ _wrap_xml_request({
60
+ "methodName" => 'zapiGetActivityCategories'
61
+ })
62
+ end
63
+
64
+ def get_activities_by_category_id id
65
+ _wrap_xml_request({
66
+ "methodName" => 'zapiGetActivitiesByCategoryId',
67
+ "categoryId" => id
68
+ })
69
+ end
70
+
71
+ def get_merchandise_categories
72
+ _wrap_xml_request({
73
+ "methodName" => 'zapiGetMerchandiseCategories'
74
+ })
75
+ end
76
+
77
+ def get_merchandise_by_category_id id
78
+ _wrap_xml_request({
79
+ "methodName" => 'zapiGetMerchandiseByCategoryId',
80
+ "categoryId" => id
81
+ })
82
+ end
83
+
84
+ def clear_cart_session
85
+ _wrap_xml_request({
86
+ "methodName" => 'zapiClearCartSession',
87
+ "cartId" => session.cart_id
88
+ })
89
+ end
90
+
91
+ def get_cart_contents
92
+ _wrap_xml_request({
93
+ "methodName" => 'zapiGetCartContents',
94
+ "cartId" => session.cart_id
95
+ })
96
+ end
97
+
98
+ def update_notes_to_cart notes
99
+ _wrap_xml_request({
100
+ "methodName" => 'zapiUpdateNotesToCart',
101
+ "cartId" => session.cart_id,
102
+ "notes" => notes
103
+ })
104
+ end
105
+
106
+ def update_customer_details_to_cart first_name:, last_name:, phone:, email:
107
+ _wrap_xml_request({
108
+ "methodName" => 'zapiUpdateCustomerDetailsToCart',
109
+ "cartId" => session.cart_id,
110
+ "firstName" => first_name,
111
+ "lastName" => last_name,
112
+ "mobileNumber" => phone,
113
+ "email" => email
114
+ })
115
+ end
116
+
117
+ def add_product_to_cart product_id:, quantity:
118
+ _wrap_xml_request({
119
+ "methodName" => 'zapiAddProductToCart',
120
+ "cartId" => session.cart_id,
121
+ "productId" => product_id,
122
+ "quantity" => quantity
123
+ })
124
+ end
125
+
126
+ def remove_product_cart_item product_id:
127
+ _wrap_xml_request({
128
+ "methodName" => 'zapiAddRemoveProductCartItem',
129
+ "cartId" => session.cart_id,
130
+ "productId" => product_id
131
+ })
132
+ end
133
+
134
+ def get_all_merchandise_by_name product_name:
135
+ _wrap_xml_request({
136
+ "methodName" => 'zapiGetAllMerchandiseByName',
137
+ "productNameToSearch" => product_name
138
+ })
139
+ end
140
+
141
+ def get_all_activities_by_name activity_name:
142
+ _wrap_xml_request({
143
+ "methodName" => 'zapiGetAllActivitiesByName',
144
+ "activityNameToSearch" => activity_name
145
+ })
146
+ end
147
+
148
+ def get_all_activities_by_date date:
149
+ _wrap_xml_request({
150
+ "methodName" => 'zapiGetAllActivitiesByDate',
151
+ "activityDate" => date.strftime("%Y-%m-%d")
152
+ })
153
+ end
154
+
155
+ def add_activity_to_cart hash: {}
156
+ _wrap_xml_request({
157
+ "methodName" => 'zapiAddActivityToCart',
158
+ "cartId" => session.cart_id,
159
+ "activityId" => hash[:activity_id],
160
+ "activityDate" => hash[:activity_date],
161
+ "activityEndDate" => hash[:activity_end_date],
162
+ "rentalStartTime" => hash[:rental_start_time],
163
+ "rentalEndTime" => hash[:rental_end_time],
164
+ "pricingOptions" => {
165
+ "option" => {
166
+ "optionId" => hash[:pricing_option_id],
167
+ "quantity" => hash[:pricing_option_quantity]
168
+ }
169
+ },
170
+ "passengers" => {
171
+ "seniors" => hash[:seniors].to_I,
172
+ "adults" => hash[:adults].to_i,
173
+ "students" => hash[:students].to_i,
174
+ "children" => hash[:children].to_i,
175
+ "infants" => hash[:infants].to_i
176
+ },
177
+ "activityTime" => hash[:activity_time],
178
+ "pickupLocationId" => hash[:pickup_location_id],
179
+ "dropOffLocationId" => hash[:dropoff_location_id]
180
+ })
181
+ end
182
+
183
+ def remove_activity_cart_item activity_id:, date:
184
+ _wrap_xml_request({
185
+ "methodName" => 'zapiRemoveActivityCartItem',
186
+ "cartId" => session.cart_id,
187
+ "activityId" => activity_id,
188
+ "activityDate" => date.strftime("%Y-%m-%d")
189
+ })
190
+ end
191
+
192
+ def get_activity_details_by_activity_id activity_id:, date: nil
193
+ hash = {
194
+ "methodName" => 'zapiGetActivityDetailsByActivityId',
195
+ "activityId" => activity_id
196
+ }
197
+ if date
198
+ hash.merge!({
199
+ "activityDate" => date.strftime("%Y-%m-%d")
200
+ })
201
+ end
202
+ _wrap_xml_request(hash)
203
+ end
204
+
205
+ def get_product_details_by_product_id product_id:
206
+ _wrap_xml_request({
207
+ "methodName" => 'zapiGetProductDetailsByProductId',
208
+ "productId" => product_id
209
+ })
210
+ end
211
+
212
+ def check_activity_inventory_by_date hash: {}
213
+ _wrap_xml_request({
214
+ "methodName" => 'zapiCheckActivityInventoryByDate',
215
+ "activityId" => hash[:activity_id],
216
+ "activityDate" => hash[:activity_date].strftime("%Y-%m-%d"),
217
+ "activityTime" => "HH:MM:SS",
218
+ "pickupLocationId" => hash[:pickup_location_id],
219
+ "dropoffLocationId" => hash[:dropoff_location_id],
220
+ "requestedPassengers" => {
221
+ "seniors" => hash[:seniors],
222
+ "adults" => hash[:adults],
223
+ "students" => hash[:students],
224
+ "children" => hash[:children],
225
+ "infants" => hash[:infants]
226
+ },
227
+ "pricingOptions" => {
228
+ "option" => {
229
+ "optionId" => hash[:option_id],
230
+ "quantity" => hash[:quantity]
25
231
  }
26
232
  }
27
233
  })
28
234
  end
29
235
 
30
- def get_activity_categories user_id:, api_token:
236
+ def check_product_inventory product_id:, quantity:
237
+ _wrap_xml_request({
238
+ "methodName" => 'zapiCheckProductInventory',
239
+ "productId" => product_id,
240
+ "quantity" => quantity
241
+ })
242
+ end
243
+
244
+ def process_cart_with_payment hash: {}
31
245
  _wrap_xml_request({
32
- zapiToken: api_token,
33
- zapiUserId: user_id,
34
- zapiMethod: {
35
- methodName: 'zapiGetActivityCategories'
246
+ "methodName" => 'zapiProcessCartWithPayment',
247
+ "cartId" => session.cart_id,
248
+ "paymentMethod" => {
249
+ "paymentMethodType" => 2000
250
+ },
251
+ "paymentGatewayId" => nil,
252
+ "creditCardDetails" => {
253
+ "nameOnCard" => hash[:name_on_card],
254
+ "number" => hash[:cc_num],
255
+ "expMonth" => hash[:expiration_month],
256
+ "expYear" => hash[:expiration_year],
257
+ "csv" => hash[:csv],
258
+ "cardType" => hash[:card_type],
259
+ "rawSwipeData" => nil,
260
+ "track1Data" => nil,
261
+ "track2Data" => nil
36
262
  }
37
263
  })
38
264
  end
39
265
 
40
- def _wrap_xml_request hash
41
- hash.to_xml(:root => 'request')
266
+ def promotion_code_apply promo_code:
267
+ _wrap_xml_request({
268
+ "methodName" => 'zapiPromotionCodeApply',
269
+ "cartId" => session.cart_id,
270
+ "promotCodeName" => promo_code
271
+ })
272
+ end
273
+
274
+ def gift_certificate_apply gift_certificate:
275
+ _wrap_xml_request({
276
+ "methodName" => 'zapiGiftCertificateApply',
277
+ "cartId" => session.cart_id,
278
+ "giftCertificate" => gift_certificate
279
+ })
280
+ end
281
+
282
+
283
+ def _wrap_xml_request method, params = {}
284
+ if session
285
+ request = params.merge({
286
+ 'zapiToken' => session.api_token,
287
+ 'zapiUserId' => session.user_id,
288
+ 'zapiAccountId' => session.account_id,
289
+ 'zapiMethod' => method
290
+ })
291
+ else
292
+ request = params.merge({ 'zapiMethod' => method })
293
+ end
294
+ request.to_xml(:root => 'request')
295
+ end
296
+
297
+ def _activities activities
298
+ activites.map do |a|
299
+ {
300
+ "activityId" => nil,
301
+ "activityDate" => nil,
302
+ "activityTime" => nil,
303
+ "pickupLocationId" => nil,
304
+ "pickupAddress" => nil,
305
+ "dropOffLocationId" => nil,
306
+ "dropoffAddress" => nil,
307
+ "pricingOptions" => nil
308
+ }
309
+ end
310
+ {'activity' => activities}
42
311
  end
43
312
 
44
313
  end
data/lib/zaui.rb ADDED
@@ -0,0 +1,31 @@
1
+ class Zaui
2
+
3
+ attr_reader :zapi, :xml, :responder
4
+
5
+ def initialize zapi: nil, zapi_xml: nil, responder: nil, session: nil
6
+ @zapi = zapi || Zapi.new()
7
+ @xml = zapi_xml || ZapiXML.new(session: ZapiObject.new(hash: session))
8
+ @responder = responder || ZapiObject
9
+ end
10
+
11
+ def get_activity_categories
12
+ raw = _zapi(xml.get_activity_categories)[:categories][:category]
13
+ end
14
+
15
+ def get_activities_by_category_id id
16
+ raw = _zapi(xml.get_activities_by_category_id(id))[:activities][:activity]
17
+ end
18
+
19
+ def get_package_categories
20
+ raw = _zapi xml.get_package_categories[:categories][:category]
21
+ end
22
+
23
+ def get_packages_by_category_id id
24
+ raw = _zapi(xml.get_packages_by_category_id(id))
25
+ end
26
+
27
+ def _zapi xml
28
+ zapi.request(xml: xml)
29
+ end
30
+
31
+ end
data/lib/zaui_zapi.rb CHANGED
@@ -1,6 +1,8 @@
1
+ require 'zaui'
1
2
  require 'zapi'
3
+ require 'zapi_agent'
2
4
  require 'zapi_response'
3
- require 'zapi_session'
5
+ require 'zapi_object'
4
6
  require 'zapi_employee'
5
7
  require 'zapi_xml'
6
8
  require 'zapi_activity_categories'
data/zaui_zapi.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = VERSION
9
9
  spec.authors = ['Shane Kretzmann']
10
10
  spec.email = ["Shane.Kretzmann@gmail.com"]
11
- spec.summary = %q{Zaui zAPI interface gem}
11
+ spec.summary = %q{Zaui.com zAPI interface gem}
12
12
  spec.description = %q{Provide ruby methods to interact with Zaui zAPI}
13
13
  spec.homepage = "https://github.com/uberdragon/zaui_zapi"
14
14
  spec.license = "GNU GENERAL PUBLIC LICENSE Version 2"
@@ -19,4 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "minitest"
22
+
23
+ spec.add_runtime_dependency 'rails'
24
+ spec.add_runtime_dependency 'activesupport'
22
25
  end
metadata CHANGED
@@ -1,27 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaui_zapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Kretzmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-10 00:00:00.000000000 Z
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
25
53
  - !ruby/object:Gem::Version
26
54
  version: '0'
27
55
  description: Provide ruby methods to interact with Zaui zAPI
@@ -31,16 +59,19 @@ executables: []
31
59
  extensions: []
32
60
  extra_rdoc_files: []
33
61
  files:
34
- - .gitignore
62
+ - ".gitignore"
35
63
  - LICENSE
36
64
  - README.md
37
65
  - lib/version.rb
38
66
  - lib/zapi.rb
39
67
  - lib/zapi_activity_categories.rb
68
+ - lib/zapi_agent.rb
40
69
  - lib/zapi_employee.rb
70
+ - lib/zapi_object.rb
71
+ - lib/zapi_package_categories.rb
41
72
  - lib/zapi_response.rb
42
- - lib/zapi_session.rb
43
73
  - lib/zapi_xml.rb
74
+ - lib/zaui.rb
44
75
  - lib/zaui_zapi.rb
45
76
  - zaui_zapi.gemspec
46
77
  homepage: https://github.com/uberdragon/zaui_zapi
@@ -53,18 +84,18 @@ require_paths:
53
84
  - lib
54
85
  required_ruby_version: !ruby/object:Gem::Requirement
55
86
  requirements:
56
- - - '>='
87
+ - - ">="
57
88
  - !ruby/object:Gem::Version
58
89
  version: '0'
59
90
  required_rubygems_version: !ruby/object:Gem::Requirement
60
91
  requirements:
61
- - - '>='
92
+ - - ">="
62
93
  - !ruby/object:Gem::Version
63
94
  version: '0'
64
95
  requirements: []
65
96
  rubyforge_project:
66
- rubygems_version: 2.0.14
97
+ rubygems_version: 2.2.2
67
98
  signing_key:
68
99
  specification_version: 4
69
- summary: Zaui zAPI interface gem
100
+ summary: Zaui.com zAPI interface gem
70
101
  test_files: []