ifns 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 5bbab3e86ecbe0faa465a2adada0a7edbe3955fa932641f0f2581d1ae6c0de4c
4
+ data.tar.gz: 9d390409a0c33dc92bc149407f5eb69272ee437ea0cdbc6083ee5ee4e0d89191
5
+ SHA512:
6
+ metadata.gz: ac0fb91059ac2f85017596592f1e812b00b9774753d1feaf17b3dfee285ee2a4609fee9a77c976e13179a267fc61d30813aa613afef25f49273649f67b46f598
7
+ data.tar.gz: c20f1982901b722d28e2a55aa83bbe3a6d30dbf3a4462d7a6061283774e5a6a23ca2f882175e8b1df07fcf87f670ee76a8ef3b90ae4db8a57d905f40fbf10073
data/.editorconfig ADDED
@@ -0,0 +1,13 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = space
5
+ indent_size = 2
6
+
7
+ end_of_line = lf
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+
12
+ [*.md]
13
+ trim_trailing_whitespace = false
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.gem
10
+ Gemfile.lock
data/.rubocop.yml ADDED
@@ -0,0 +1,24 @@
1
+ Style/Documentation:
2
+ Enabled: false
3
+ Style/DoubleNegation:
4
+ Enabled: false
5
+ Metrics/BlockLength:
6
+ Enabled: false
7
+ Lint/AmbiguousBlockAssociation:
8
+ Enabled: false
9
+ Lint/EmptyWhen:
10
+ Enabled: false
11
+ Style/SymbolProc:
12
+ Enabled: false
13
+ Style/NumericPredicate:
14
+ Enabled: false
15
+ Style/FrozenStringLiteralComment:
16
+ Enabled: false
17
+ Metrics/AbcSize:
18
+ Max: 20
19
+ Metrics/LineLength:
20
+ Max: 120
21
+ Metrics/MethodLength:
22
+ Max: 20
23
+ Style/RegexpLiteral:
24
+ Enabled: false
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at ivan.novikov@saltpepper.ru. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in ifns.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Ivan Novikov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,60 @@
1
+ # Ifns
2
+
3
+ ## Installation
4
+
5
+ Add this line to your application's Gemfile:
6
+
7
+ ```ruby
8
+ gem 'ifns', github: 'inshopper/ifns'
9
+ ```
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install ifns
18
+
19
+ ## Usage
20
+
21
+ Create intitializer `config/initializers/ifns.rb`
22
+
23
+ ```ruby
24
+ Ifns.configure do |config|
25
+ config.host = 'YOUR_HOST'
26
+ config.token = 'YOUR_TOKEN'
27
+ config.logger = 'YOUR_LOGGER'
28
+ end
29
+ ```
30
+
31
+ ```ruby
32
+ example_data = { id: 'resource_id', fn: 8710000101674196, fd: 7078, fpd: 1050183412, date: '2019-03-01T12:21:00', sum: 209900,
33
+ type_operation: 1}
34
+ client = ::Ifns::Client.new(example_data)
35
+ client.create_validation
36
+ # wait 500ms
37
+ client.find_validation
38
+ client.create_ticket
39
+ # wait 500ms
40
+ client.find_ticket
41
+ ```
42
+
43
+
44
+ ## Development
45
+
46
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
47
+
48
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
49
+
50
+ ## Contributing
51
+
52
+ Bug reports and pull requests are welcome on GitHub at https://github.com/inshopper/ifns. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
53
+
54
+ ## License
55
+
56
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
57
+
58
+ ## Code of Conduct
59
+
60
+ Everyone interacting in the Ifns project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/ifns/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require 'bundler/gem_tasks'
2
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'ifns'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require 'irb'
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/ifns.gemspec ADDED
@@ -0,0 +1,33 @@
1
+ lib = File.expand_path('lib', __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'ifns/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'ifns'
7
+ spec.version = Ifns::VERSION
8
+ spec.authors = ['Ivan Novikov']
9
+ spec.email = ['ivan.novikov@corp.mail.ru']
10
+
11
+ spec.summary = 'Client for Ifns api'
12
+ spec.homepage = 'https://github.com/inshopper/ifns'
13
+ spec.license = 'MIT'
14
+
15
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
+ f.match(%r{^(test|spec|features)/})
17
+ end
18
+
19
+ spec.bindir = 'exe'
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ['lib']
22
+ spec.required_ruby_version = ['>= 2.4.0', '< 2.6.0']
23
+
24
+ spec.add_development_dependency 'bundler', '~> 2.0'
25
+ spec.add_development_dependency 'rake', '~> 10.0'
26
+ spec.add_development_dependency 'rubocop', '~> 0.72.0'
27
+
28
+ spec.add_runtime_dependency 'activesupport', '~> 5.0'
29
+ spec.add_runtime_dependency 'faraday', '~> 0.15'
30
+ spec.add_runtime_dependency 'faraday-encoding', '~> 0.0', '>= 0.0.5'
31
+ spec.add_runtime_dependency 'faraday_middleware', '~> 0'
32
+ spec.add_runtime_dependency 'redis', '~> 4.1'
33
+ end
@@ -0,0 +1,80 @@
1
+ module Ifns
2
+ class Client
3
+ attr_reader :data
4
+
5
+ def initialize(options)
6
+ @data = OpenStruct.new(options)
7
+ validate_keys
8
+ end
9
+
10
+ def params
11
+ { fn: data.fn, fd: data.fd, fpd: data.fpd, sum: data.sum, date: data.date, type_operation: data.type_operation }
12
+ end
13
+
14
+ def create_validation
15
+ caching(key: "ifns:validation_id:#{data.id}", expire: 60.seconds) do
16
+ response = connection.post('/api/v1/validations') do |req|
17
+ req.headers['Content-Type'] = 'application/json'
18
+ req.headers['X-Auth-Token'] = Ifns.configuration.token
19
+ req.body = params.to_json
20
+ end
21
+ Responses::Validation.new(response)
22
+ end
23
+ end
24
+
25
+ def find_validation
26
+ response = connection.get("/api/v1/validations/#{create_validation.id}") do |req|
27
+ req.headers['X-Auth-Token'] = Ifns.configuration.token
28
+ end
29
+ Responses::Validation.new(response)
30
+ end
31
+
32
+ def create_ticket
33
+ caching(key: "ifns:ticket_id:#{data.id}", expire: 60.seconds) do
34
+ response = connection.post('/api/v1/tickets') do |req|
35
+ req.headers['Content-Type'] = 'application/json'
36
+ req.headers['X-Auth-Token'] = Ifns.configuration.token
37
+ req.body = params.to_json
38
+ end
39
+ Responses::Ticket.new(response)
40
+ end
41
+ end
42
+
43
+ def find_ticket
44
+ response = connection.get("/api/v1/tickets/#{create_ticket.id}") do |req|
45
+ req.headers['X-Auth-Token'] = Ifns.configuration.token
46
+ end
47
+ Responses::Ticket.new(response)
48
+ end
49
+
50
+ private
51
+
52
+ def connection
53
+ @connection ||= Faraday.new(url: Ifns.configuration.host) do |faraday|
54
+ faraday.response :json, parser_options: { symbolize_names: true }
55
+ faraday.use Faraday::Request::UrlEncoded
56
+ faraday.use Faraday::Response::Logger, Ifns.configuration.logger, bodies: true
57
+ faraday.options.open_timeout = 2
58
+ faraday.options.timeout = 5
59
+ faraday.adapter :net_http
60
+ end
61
+ end
62
+
63
+ def caching(options)
64
+ if Redis.current.get(options[:key]).present?
65
+ Responses::Cached.new(Redis.current.get(options[:key]), true)
66
+ else
67
+ response = yield
68
+ return response unless response.status == 200
69
+
70
+ Redis.current.set(options[:key], response.body[:id], ex: options[:expire])
71
+ Responses::Cached.new(Redis.current.get(options[:key]), false)
72
+ end
73
+ end
74
+
75
+ def validate_keys
76
+ diff = %i[id fn fd fpd sum date type_operation] - data.to_h.keys
77
+ raise KeyError, "Missing key #{diff.join(', ')}" if diff.count > 0
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,5 @@
1
+ module Ifns
2
+ class Configuration
3
+ attr_accessor :host, :token, :logger
4
+ end
5
+ end
@@ -0,0 +1,57 @@
1
+ module Ifns
2
+ module Responses
3
+ class Base
4
+ attr_reader :response, :cached, :id
5
+
6
+ delegate :body, :status, to: :response
7
+
8
+ def initialize(response)
9
+ @response = response
10
+ end
11
+
12
+ def valid?
13
+ good?
14
+ end
15
+
16
+ def invalid?
17
+ incorrect_fpd? || incorrect_params? || not_found?
18
+ end
19
+
20
+ def retry?
21
+ gone? || accepted?
22
+ end
23
+
24
+ def good?
25
+ status == 200
26
+ end
27
+
28
+ def gone?
29
+ status == 410
30
+ end
31
+
32
+ def internal_error?
33
+ status >= 500
34
+ end
35
+
36
+ def not_found?
37
+ status == 404
38
+ end
39
+
40
+ def accepted?
41
+ status == 202
42
+ end
43
+
44
+ def incorrect_params?
45
+ status == 400
46
+ end
47
+
48
+ def rate_limit_exceeded?
49
+ status == 429
50
+ end
51
+
52
+ def incorrect_fpd?
53
+ status == 406
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,14 @@
1
+ module Ifns
2
+ module Responses
3
+ class Cached < Base
4
+ def initialize(id, cached)
5
+ @id = id
6
+ @cached = cached
7
+ end
8
+
9
+ def response
10
+ OpenStruct.new(status: 200, body: { id: id, cached: cached })
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,34 @@
1
+ module Ifns
2
+ module Responses
3
+ class Ticket < Base
4
+ def goods
5
+ @goods ||= begin
6
+ return if items_blank?
7
+
8
+ devider = 100.0
9
+ items = body[:receipt][:items].map(&:dup)
10
+ items.map do |good|
11
+ good[:name] = good[:name].try(:squish)
12
+ good[:price] = (good[:price].to_f / devider)
13
+ good[:sum] = (good[:sum].to_f / devider)
14
+ good
15
+ end
16
+ end
17
+ end
18
+
19
+ def inn
20
+ body.try(:[], :receipt).try(:[], :userInn)
21
+ end
22
+
23
+ def ticket
24
+ body[:receipt]
25
+ end
26
+
27
+ private
28
+
29
+ def items_blank?
30
+ ticket.try(:[], :items).blank?
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,6 @@
1
+ module Ifns
2
+ module Responses
3
+ class Validation < Base
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,3 @@
1
+ module Ifns
2
+ VERSION = '0.2.0'.freeze
3
+ end
data/lib/ifns.rb ADDED
@@ -0,0 +1,24 @@
1
+ require 'faraday'
2
+ require 'faraday-encoding'
3
+ require 'faraday_middleware'
4
+ require 'active_support'
5
+ require 'active_support/core_ext'
6
+ require 'ifns/version'
7
+ require 'ifns/client'
8
+ require 'ifns/configuration'
9
+ require 'ifns/responses/base'
10
+ require 'ifns/responses/cached'
11
+ require 'ifns/responses/ticket'
12
+ require 'ifns/responses/validation'
13
+
14
+ module Ifns
15
+ class << self
16
+ def configuration
17
+ @configuration ||= Ifns::Configuration.new
18
+ end
19
+
20
+ def configure
21
+ yield(configuration)
22
+ end
23
+ end
24
+ end
metadata ADDED
@@ -0,0 +1,184 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ifns
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Ivan Novikov
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-09-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.72.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.72.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: activesupport
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '5.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '5.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: faraday
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.15'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.15'
83
+ - !ruby/object:Gem::Dependency
84
+ name: faraday-encoding
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.0'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 0.0.5
93
+ type: :runtime
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '0.0'
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 0.0.5
103
+ - !ruby/object:Gem::Dependency
104
+ name: faraday_middleware
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: redis
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '4.1'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '4.1'
131
+ description:
132
+ email:
133
+ - ivan.novikov@corp.mail.ru
134
+ executables: []
135
+ extensions: []
136
+ extra_rdoc_files: []
137
+ files:
138
+ - ".editorconfig"
139
+ - ".gitignore"
140
+ - ".rubocop.yml"
141
+ - CODE_OF_CONDUCT.md
142
+ - Gemfile
143
+ - LICENSE.txt
144
+ - README.md
145
+ - Rakefile
146
+ - bin/console
147
+ - bin/setup
148
+ - ifns.gemspec
149
+ - lib/ifns.rb
150
+ - lib/ifns/client.rb
151
+ - lib/ifns/configuration.rb
152
+ - lib/ifns/responses/base.rb
153
+ - lib/ifns/responses/cached.rb
154
+ - lib/ifns/responses/ticket.rb
155
+ - lib/ifns/responses/validation.rb
156
+ - lib/ifns/version.rb
157
+ homepage: https://github.com/inshopper/ifns
158
+ licenses:
159
+ - MIT
160
+ metadata: {}
161
+ post_install_message:
162
+ rdoc_options: []
163
+ require_paths:
164
+ - lib
165
+ required_ruby_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: 2.4.0
170
+ - - "<"
171
+ - !ruby/object:Gem::Version
172
+ version: 2.6.0
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ requirements: []
179
+ rubyforge_project:
180
+ rubygems_version: 2.7.6
181
+ signing_key:
182
+ specification_version: 4
183
+ summary: Client for Ifns api
184
+ test_files: []