monobank-lotarc 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +6 -0
- data/lib/monobank/auth/corporate.rb +35 -0
- data/lib/monobank/auth/private.rb +17 -0
- data/lib/monobank/bank/currency.rb +22 -0
- data/lib/monobank/client.rb +44 -0
- data/lib/monobank/configuration.rb +9 -0
- data/lib/monobank/connection.rb +16 -0
- data/lib/monobank/corporate/client.rb +60 -0
- data/lib/monobank/corporate.rb +21 -0
- data/lib/monobank/error.rb +3 -0
- data/lib/monobank/methods/base.rb +48 -0
- data/lib/monobank/methods/get.rb +15 -0
- data/lib/monobank/methods/post.rb +15 -0
- data/lib/monobank/personal/auth_check.rb +22 -0
- data/lib/monobank/personal/auth_request.rb +31 -0
- data/lib/monobank/personal/client_info.rb +20 -0
- data/lib/monobank/personal/corporate_webhook.rb +15 -0
- data/lib/monobank/personal/registration.rb +46 -0
- data/lib/monobank/personal/registration_status.rb +32 -0
- data/lib/monobank/personal/settings.rb +20 -0
- data/lib/monobank/personal/statement.rb +34 -0
- data/lib/monobank/personal/webhook.rb +32 -0
- data/lib/monobank/resources/bank/currency.rb +11 -0
- data/lib/monobank/resources/base.rb +35 -0
- data/lib/monobank/resources/error.rb +9 -0
- data/lib/monobank/resources/personal/accounts.rb +11 -0
- data/lib/monobank/resources/personal/auth_check.rb +11 -0
- data/lib/monobank/resources/personal/auth_request.rb +15 -0
- data/lib/monobank/resources/personal/client_info.rb +18 -0
- data/lib/monobank/resources/personal/registration.rb +11 -0
- data/lib/monobank/resources/personal/registration_status.rb +11 -0
- data/lib/monobank/resources/personal/settings.rb +11 -0
- data/lib/monobank/resources/personal/statement.rb +11 -0
- data/lib/monobank/resources/personal/webhook.rb +12 -0
- data/lib/monobank/version.rb +3 -0
- data/lib/monobank.rb +32 -0
- data/spec/monobank_corporate_spec.rb +290 -0
- data/spec/monobank_spec.rb +147 -0
- data/spec/spec_helper.rb +21 -0
- metadata +162 -0
metadata
ADDED
@@ -0,0 +1,162 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: monobank-lotarc
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Semyon Kolesnikov
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-12-07 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
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.23.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.21.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.23.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rake
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '13.0'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 13.0.0
|
43
|
+
type: :development
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '13.0'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 13.0.0
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: rspec
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '3.8'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 3.8.0
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.8'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 3.8.0
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: webmock
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '3.0'
|
80
|
+
type: :development
|
81
|
+
prerelease: false
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - "~>"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '3.0'
|
87
|
+
description: Ruby Gem for Monobank API.
|
88
|
+
email:
|
89
|
+
- semyon.kolesnikov@outlook.com
|
90
|
+
executables: []
|
91
|
+
extensions: []
|
92
|
+
extra_rdoc_files: []
|
93
|
+
files:
|
94
|
+
- Rakefile
|
95
|
+
- lib/monobank.rb
|
96
|
+
- lib/monobank/auth/corporate.rb
|
97
|
+
- lib/monobank/auth/private.rb
|
98
|
+
- lib/monobank/bank/currency.rb
|
99
|
+
- lib/monobank/client.rb
|
100
|
+
- lib/monobank/configuration.rb
|
101
|
+
- lib/monobank/connection.rb
|
102
|
+
- lib/monobank/corporate.rb
|
103
|
+
- lib/monobank/corporate/client.rb
|
104
|
+
- lib/monobank/error.rb
|
105
|
+
- lib/monobank/methods/base.rb
|
106
|
+
- lib/monobank/methods/get.rb
|
107
|
+
- lib/monobank/methods/post.rb
|
108
|
+
- lib/monobank/personal/auth_check.rb
|
109
|
+
- lib/monobank/personal/auth_request.rb
|
110
|
+
- lib/monobank/personal/client_info.rb
|
111
|
+
- lib/monobank/personal/corporate_webhook.rb
|
112
|
+
- lib/monobank/personal/registration.rb
|
113
|
+
- lib/monobank/personal/registration_status.rb
|
114
|
+
- lib/monobank/personal/settings.rb
|
115
|
+
- lib/monobank/personal/statement.rb
|
116
|
+
- lib/monobank/personal/webhook.rb
|
117
|
+
- lib/monobank/resources/bank/currency.rb
|
118
|
+
- lib/monobank/resources/base.rb
|
119
|
+
- lib/monobank/resources/error.rb
|
120
|
+
- lib/monobank/resources/personal/accounts.rb
|
121
|
+
- lib/monobank/resources/personal/auth_check.rb
|
122
|
+
- lib/monobank/resources/personal/auth_request.rb
|
123
|
+
- lib/monobank/resources/personal/client_info.rb
|
124
|
+
- lib/monobank/resources/personal/registration.rb
|
125
|
+
- lib/monobank/resources/personal/registration_status.rb
|
126
|
+
- lib/monobank/resources/personal/settings.rb
|
127
|
+
- lib/monobank/resources/personal/statement.rb
|
128
|
+
- lib/monobank/resources/personal/webhook.rb
|
129
|
+
- lib/monobank/version.rb
|
130
|
+
- spec/monobank_corporate_spec.rb
|
131
|
+
- spec/monobank_spec.rb
|
132
|
+
- spec/spec_helper.rb
|
133
|
+
homepage: https://github.com/lotarcc/monobank
|
134
|
+
licenses:
|
135
|
+
- MIT
|
136
|
+
metadata:
|
137
|
+
homepage_uri: https://github.com/lotarcc/monobank
|
138
|
+
source_code_uri: https://github.com/lotarcc/monobank
|
139
|
+
changelog_uri: https://github.com/lotarcc/monobank
|
140
|
+
post_install_message:
|
141
|
+
rdoc_options: []
|
142
|
+
require_paths:
|
143
|
+
- lib
|
144
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: 2.3.0
|
149
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
requirements: []
|
155
|
+
rubygems_version: 3.3.5
|
156
|
+
signing_key:
|
157
|
+
specification_version: 4
|
158
|
+
summary: Ruby Gem for Monobank API.
|
159
|
+
test_files:
|
160
|
+
- spec/monobank_corporate_spec.rb
|
161
|
+
- spec/monobank_spec.rb
|
162
|
+
- spec/spec_helper.rb
|