starkinfra 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/lib/creditnote/creditnote.rb +583 -0
  3. data/lib/creditnote/log.rb +126 -0
  4. data/lib/event/attempt.rb +126 -0
  5. data/lib/event/event.rb +125 -7
  6. data/lib/issuingauthorization/issuingauthorization.rb +141 -0
  7. data/lib/issuingbalance/issuingbalance.rb +55 -0
  8. data/lib/issuingbin/issuingbin.rb +89 -0
  9. data/lib/issuingcard/issuingcard.rb +261 -0
  10. data/lib/issuingcard/log.rb +123 -0
  11. data/lib/issuingholder/issuingholder.rb +206 -0
  12. data/lib/issuingholder/log.rb +123 -0
  13. data/lib/issuinginvoice/issuinginvoice.rb +152 -0
  14. data/lib/issuinginvoice/log.rb +120 -0
  15. data/lib/issuingpurchase/issuingpurchase.rb +209 -0
  16. data/lib/issuingpurchase/log.rb +131 -0
  17. data/lib/issuingrule/issuingrule.rb +79 -0
  18. data/lib/issuingtransaction/issuingtransaction.rb +136 -0
  19. data/lib/issuingwithdrawal/issuingwithdrawal.rb +153 -0
  20. data/lib/pixbalance/pixbalance.rb +15 -15
  21. data/lib/pixchargeback/log.rb +129 -0
  22. data/lib/pixchargeback/pixchargeback.rb +225 -0
  23. data/lib/pixclaim/log.rb +135 -0
  24. data/lib/pixclaim/pixclaim.rb +226 -0
  25. data/lib/pixdirector/pixdirector.rb +76 -0
  26. data/lib/pixdomain/certificate.rb +30 -0
  27. data/lib/pixdomain/pixdomain.rb +58 -0
  28. data/lib/pixinfraction/log.rb +129 -0
  29. data/lib/pixinfraction/pixinfraction.rb +212 -0
  30. data/lib/pixkey/log.rb +128 -0
  31. data/lib/pixkey/pixkey.rb +240 -0
  32. data/lib/pixrequest/log.rb +16 -16
  33. data/lib/pixrequest/pixrequest.rb +66 -67
  34. data/lib/pixreversal/log.rb +13 -12
  35. data/lib/pixreversal/pixreversal.rb +74 -72
  36. data/lib/pixstatement/pixstatement.rb +24 -25
  37. data/lib/starkinfra.rb +32 -3
  38. data/lib/user/organization.rb +54 -0
  39. data/lib/user/project.rb +37 -0
  40. data/lib/user/user.rb +20 -0
  41. data/lib/utils/api.rb +10 -2
  42. data/lib/utils/bacenid.rb +19 -0
  43. data/lib/utils/checks.rb +2 -3
  44. data/lib/utils/endtoendid.rb +11 -0
  45. data/lib/utils/parse.rb +13 -13
  46. data/lib/utils/request.rb +2 -2
  47. data/lib/utils/rest.rb +6 -5
  48. data/lib/utils/returnid.rb +11 -0
  49. data/lib/webhook/webhook.rb +124 -0
  50. metadata +45 -24
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: starkinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - starkinfra
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: starkbank
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 2.6.0
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 2.6.0
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: starkbank-ecdsa
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +30,14 @@ dependencies:
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: 5.14.1
33
+ version: 5.14.4
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: 5.14.1
40
+ version: 5.14.4
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -80,38 +66,73 @@ dependencies:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0.81'
83
- description:
84
- email:
69
+ description:
70
+ email:
85
71
  executables: []
86
72
  extensions: []
87
73
  extra_rdoc_files: []
88
74
  files:
75
+ - lib/creditnote/creditnote.rb
76
+ - lib/creditnote/log.rb
89
77
  - lib/error.rb
78
+ - lib/event/attempt.rb
90
79
  - lib/event/event.rb
80
+ - lib/issuingauthorization/issuingauthorization.rb
81
+ - lib/issuingbalance/issuingbalance.rb
82
+ - lib/issuingbin/issuingbin.rb
83
+ - lib/issuingcard/issuingcard.rb
84
+ - lib/issuingcard/log.rb
85
+ - lib/issuingholder/issuingholder.rb
86
+ - lib/issuingholder/log.rb
87
+ - lib/issuinginvoice/issuinginvoice.rb
88
+ - lib/issuinginvoice/log.rb
89
+ - lib/issuingpurchase/issuingpurchase.rb
90
+ - lib/issuingpurchase/log.rb
91
+ - lib/issuingrule/issuingrule.rb
92
+ - lib/issuingtransaction/issuingtransaction.rb
93
+ - lib/issuingwithdrawal/issuingwithdrawal.rb
91
94
  - lib/key.rb
92
95
  - lib/pixbalance/pixbalance.rb
96
+ - lib/pixchargeback/log.rb
97
+ - lib/pixchargeback/pixchargeback.rb
98
+ - lib/pixclaim/log.rb
99
+ - lib/pixclaim/pixclaim.rb
100
+ - lib/pixdirector/pixdirector.rb
101
+ - lib/pixdomain/certificate.rb
102
+ - lib/pixdomain/pixdomain.rb
103
+ - lib/pixinfraction/log.rb
104
+ - lib/pixinfraction/pixinfraction.rb
105
+ - lib/pixkey/log.rb
106
+ - lib/pixkey/pixkey.rb
93
107
  - lib/pixrequest/log.rb
94
108
  - lib/pixrequest/pixrequest.rb
95
109
  - lib/pixreversal/log.rb
96
110
  - lib/pixreversal/pixreversal.rb
97
111
  - lib/pixstatement/pixstatement.rb
98
112
  - lib/starkinfra.rb
113
+ - lib/user/organization.rb
114
+ - lib/user/project.rb
115
+ - lib/user/user.rb
99
116
  - lib/utils/api.rb
117
+ - lib/utils/bacenid.rb
100
118
  - lib/utils/cache.rb
101
119
  - lib/utils/case.rb
102
120
  - lib/utils/checks.rb
121
+ - lib/utils/endtoendid.rb
103
122
  - lib/utils/environment.rb
104
123
  - lib/utils/parse.rb
105
124
  - lib/utils/request.rb
106
125
  - lib/utils/resource.rb
107
126
  - lib/utils/rest.rb
127
+ - lib/utils/returnid.rb
108
128
  - lib/utils/sub_resource.rb
109
129
  - lib/utils/url.rb
130
+ - lib/webhook/webhook.rb
110
131
  homepage: https://github.com/starkinfra/sdk-ruby
111
132
  licenses:
112
133
  - MIT
113
134
  metadata: {}
114
- post_install_message:
135
+ post_install_message:
115
136
  rdoc_options: []
116
137
  require_paths:
117
138
  - lib
@@ -126,8 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
147
  - !ruby/object:Gem::Version
127
148
  version: '0'
128
149
  requirements: []
129
- rubygems_version: 3.1.4
130
- signing_key:
150
+ rubygems_version: 3.0.3.1
151
+ signing_key:
131
152
  specification_version: 4
132
153
  summary: SDK to facilitate Ruby integrations with Stark Infra
133
154
  test_files: []