joy_ussd_engine 0.1.11 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/joy_ussd_engine/hubtel_transformer.rb +4 -0
- data/lib/joy_ussd_engine/version.rb +1 -1
- data/lib/joy_ussd_engine.rb +6 -0
- data/pkg/joy_ussd_engine-0.1.14.gem +0 -0
- metadata +3 -3
- data/pkg/joy_ussd_engine-0.1.11.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d917974b89405cdc175b81e7e4e93e166085739c5461571d5963ac9088079b0
|
4
|
+
data.tar.gz: 558e0af58bf9d99ae291deb9a28330ae75e6dc55ad8e9e4d09690afdf0210be9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2d1424c79fd1cd3173d482ee70a6c04799d1be47636b8c1ca4ba47b36863ec7c874b6d7f1acdad57abe8dbe2ca9a12d2562e3ede2a88a6377443246e615bbf1
|
7
|
+
data.tar.gz: bcb991e8311bdba965473b037aaa3b039740bd1a53b9318be0334cd57a8f8f2a57cb9f57971904b08f7669c04604cf44d24e860f76073a67d1e9a617420148e8
|
data/Gemfile.lock
CHANGED
data/lib/joy_ussd_engine.rb
CHANGED
@@ -29,6 +29,12 @@ module JoyUssdEngine
|
|
29
29
|
# If a particular provider returns some sort of response that can terminate the app we do that check here
|
30
30
|
return @current_menu = end_point.to_s if @selected_provider.send("app_terminator", params) || @data[:ClientState] == 'EndJoyUssdEngine'
|
31
31
|
|
32
|
+
if(@selected_provider.send("app_initiator", params) )
|
33
|
+
@current_menu = start_point.to_s
|
34
|
+
reset_state
|
35
|
+
return
|
36
|
+
end
|
37
|
+
|
32
38
|
@current_menu = @data[:ClientState].blank? ? start_point.to_s : @data[:ClientState]
|
33
39
|
end
|
34
40
|
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: joy_ussd_engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caleb Mantey
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: will_paginate
|
@@ -99,7 +99,7 @@ files:
|
|
99
99
|
- lib/joy_ussd_engine/paginate_menu.rb
|
100
100
|
- lib/joy_ussd_engine/session_manager.rb
|
101
101
|
- lib/joy_ussd_engine/version.rb
|
102
|
-
- pkg/joy_ussd_engine-0.1.
|
102
|
+
- pkg/joy_ussd_engine-0.1.14.gem
|
103
103
|
- spec/joy_ussd_engine_spec.rb
|
104
104
|
- spec/joy_ussd_engine_transformer.spec
|
105
105
|
- spec/spec_helper.rb
|
Binary file
|