courier_spec 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/courier_spec.gemspec +1 -1
- data/lib/balance_pb.rb +0 -7
- data/lib/balance_services_pb.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab1738fc13b607f964ae57c9ee139e6bfeec567e851f06b0c50f33617fb663a9
|
4
|
+
data.tar.gz: 2afc6f0ba19f52d9a2f733fe4a8c76159b2ca81e723d96d007d8110e192f3c0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c70274e5fa6ca01d3a1f0d9108b889e8ef1f265cb2d800e934fe1ace203be6ebef882c24cad9b15bd938460727098e9bd6cdc745030d6e413d9ebc9315eb684f
|
7
|
+
data.tar.gz: 2ee0c35d6d472e81da0ceecbf1af67bc82de73c3e34cb79b3628ce9cce8249c7f803dad4abe214e91e6f7e107c42bb6fea5cfcb6f3175bc4ed39669eb2026f87
|
data/courier_spec.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'courier_spec'
|
7
|
-
spec.version = '0.2.
|
7
|
+
spec.version = '0.2.1'
|
8
8
|
spec.date = '2019-09-12'
|
9
9
|
spec.summary = "Courier Spec for proto files!"
|
10
10
|
spec.description = "The gem is the generated files for proto file"
|
data/lib/balance_pb.rb
CHANGED
@@ -35,12 +35,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
35
35
|
optional :status_code, :string, 1
|
36
36
|
end
|
37
37
|
add_message "balance.BalanceRequest" do
|
38
|
-
optional :msisdn, :int64, 1
|
39
|
-
optional :amount, :int64, 2
|
40
|
-
optional :currency, :string, 3
|
41
|
-
optional :transaction_id, :string, 4
|
42
|
-
end
|
43
|
-
add_message "balance.BalanceReply" do
|
44
38
|
optional :user_id, :string, 1
|
45
39
|
optional :carrier_id, :string, 2
|
46
40
|
end
|
@@ -71,7 +65,6 @@ module Balance
|
|
71
65
|
DeductBalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.DeductBalanceRequest").msgclass
|
72
66
|
DeductBalanceReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.DeductBalanceReply").msgclass
|
73
67
|
BalanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.BalanceRequest").msgclass
|
74
|
-
BalanceReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.BalanceReply").msgclass
|
75
68
|
BalancesReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.BalancesReply").msgclass
|
76
69
|
BalanceItemReply = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.BalanceItemReply").msgclass
|
77
70
|
BalanceItemReply::BalanceType = Google::Protobuf::DescriptorPool.generated_pool.lookup("balance.BalanceItemReply.BalanceType").enummodule
|
data/lib/balance_services_pb.rb
CHANGED
@@ -14,9 +14,9 @@ module Balance
|
|
14
14
|
self.unmarshal_class_method = :decode
|
15
15
|
self.service_name = 'balance.Balance'
|
16
16
|
|
17
|
-
rpc :GetBalance, BalanceRequest,
|
17
|
+
rpc :GetBalance, BalanceRequest, BalanceItemReply
|
18
18
|
rpc :GetBalances, BalanceRequest, BalancesReply
|
19
|
-
rpc :SetBalance, BalanceRequest,
|
19
|
+
rpc :SetBalance, BalanceRequest, BalanceItemReply
|
20
20
|
rpc :AddBalance, AddBalanceRequest, AddBalanceReply
|
21
21
|
rpc :DeductBalance, DeductBalanceRequest, DeductBalanceReply
|
22
22
|
end
|