laa-apply-for-legalaid-api-client 0.1.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: 6ceb54d14bf632f9cd3d51480833d44d6509159a1911c7f51dca8d8c2277ac2b
4
+ data.tar.gz: 9201c22e180ab08ae0d66f5382c8482c5808ab0a075485a83d63a42427039caf
5
+ SHA512:
6
+ metadata.gz: 5e95484d7bc46b4744d22281dfe3caa2c116029a65c4fd3398ead10ded5e798a243197655b6e2c77caca55cb9beb9a5fe804eff5dd21b77da0becdb658da871b
7
+ data.tar.gz: 96f71e5148e6bf5e68ef2f57ec947cf3feebefeaa092d0b098cd4e8fda6a1af87f5b3bbb508bf6c75bb472277523891e3989e1dc6b7c025c5f64ab1f6d99d992
@@ -0,0 +1,24 @@
1
+ version: 2.0
2
+
3
+ references:
4
+ test_container_config: &test_container_config
5
+ docker:
6
+ - image: circleci/ruby:2.5.1
7
+
8
+ jobs:
9
+ test:
10
+ <<: *test_container_config
11
+ steps:
12
+ - checkout
13
+ - run:
14
+ name: Install gems
15
+ command: bundle install
16
+ - run:
17
+ name: Run Tests
18
+ command: bundle exec rake
19
+
20
+ workflows:
21
+ version: 2
22
+ build_and_deploy:
23
+ jobs:
24
+ - test
data/.gitignore ADDED
@@ -0,0 +1,53 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ # Gemfile.lock
46
+ # .ruby-version
47
+ # .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
51
+
52
+ # Rspec status report
53
+ .rspec_status
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in laa-apply-for-legalaid-api-client.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,70 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ laa-apply-for-legalaid-api-client (0.1.0)
5
+ faraday (~> 0.15.2)
6
+ faraday_middleware (~> 0.12.2)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ addressable (2.5.2)
12
+ public_suffix (>= 2.0.2, < 4.0)
13
+ byebug (10.0.2)
14
+ coderay (1.1.2)
15
+ crack (0.4.3)
16
+ safe_yaml (~> 1.0.0)
17
+ diff-lcs (1.3)
18
+ faraday (0.15.2)
19
+ multipart-post (>= 1.2, < 3)
20
+ faraday_middleware (0.12.2)
21
+ faraday (>= 0.7.4, < 1.0)
22
+ hashdiff (0.3.7)
23
+ json_matchers (0.10.0)
24
+ json_schema
25
+ json_schema (0.19.1)
26
+ method_source (0.9.0)
27
+ multipart-post (2.0.0)
28
+ pry (0.11.3)
29
+ coderay (~> 1.1.0)
30
+ method_source (~> 0.9.0)
31
+ pry-byebug (3.6.0)
32
+ byebug (~> 10.0)
33
+ pry (~> 0.10)
34
+ public_suffix (3.0.3)
35
+ rake (10.5.0)
36
+ rspec (3.7.0)
37
+ rspec-core (~> 3.7.0)
38
+ rspec-expectations (~> 3.7.0)
39
+ rspec-mocks (~> 3.7.0)
40
+ rspec-core (3.7.1)
41
+ rspec-support (~> 3.7.0)
42
+ rspec-expectations (3.7.0)
43
+ diff-lcs (>= 1.2.0, < 2.0)
44
+ rspec-support (~> 3.7.0)
45
+ rspec-mocks (3.7.0)
46
+ diff-lcs (>= 1.2.0, < 2.0)
47
+ rspec-support (~> 3.7.0)
48
+ rspec-support (3.7.1)
49
+ safe_yaml (1.0.4)
50
+ vcr (4.0.0)
51
+ webmock (3.4.2)
52
+ addressable (>= 2.3.6)
53
+ crack (>= 0.3.2)
54
+ hashdiff
55
+
56
+ PLATFORMS
57
+ ruby
58
+
59
+ DEPENDENCIES
60
+ bundler (~> 1.16)
61
+ json_matchers (~> 0.10.0)
62
+ laa-apply-for-legalaid-api-client!
63
+ pry-byebug (~> 3.6.0)
64
+ rake (~> 10.0)
65
+ rspec (~> 3.0)
66
+ vcr (~> 4.0.0)
67
+ webmock (~> 3.4.2)
68
+
69
+ BUNDLED WITH
70
+ 1.16.0
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Ministry of Justice
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Sergio Marques
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,92 @@
1
+ # Laa::ApplyForLegalAid::Api
2
+
3
+ This is an HTTP client gem to perform calls to the LAA Apply for legal aid API.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'laa-apply-for-legalaid-api-client'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install laa-apply-for-legalaid-api-client
20
+
21
+ ## Usage
22
+
23
+ * Configure the client:
24
+
25
+ ```ruby
26
+ # In a Rails application, this configuration is normally
27
+ # setup in an initializer
28
+ Laa::ApplyForLegalAid::Api.configure do |c|
29
+ c.host = 'http://your-api-host-name'
30
+ end
31
+ ```
32
+
33
+ * Get an instance of the client:
34
+
35
+ ```ruby
36
+ # This instance will use configurations setup in the previous step
37
+ api_client = Laa::ApplyForLegalAid::Api.client
38
+ ```
39
+
40
+ * Performing requests
41
+
42
+ ```ruby
43
+ # e.g:
44
+ api_client.create_application(application_params)
45
+ api_client.get_application(application_ref)
46
+ ```
47
+
48
+ ## Development
49
+
50
+ ### Setup
51
+
52
+ After checking out the repo, run:
53
+
54
+ ```
55
+ bin/setup
56
+ ```
57
+
58
+ to install dependencies.
59
+
60
+ ### Running tests
61
+
62
+ ```
63
+ rake spec
64
+ ```
65
+
66
+ ### Interactive prompt
67
+
68
+ You can also run `bin/console` for an interactive prompt that will allow you to experiment
69
+
70
+ ### Release process
71
+
72
+ To install this gem onto your local machine:
73
+
74
+ ```
75
+ bundle exec rake install
76
+ ```
77
+
78
+ To release a new version, update the version number in `version.rb`, and then run:
79
+
80
+ ```
81
+ bundle exec rake release
82
+ ```
83
+
84
+ 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).
85
+
86
+ ## Contributing
87
+
88
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ministryofjustice/laa-apply-for-legalaid-api-ruby-client/issues.
89
+
90
+ ## License
91
+
92
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "laa/apply_for_legal_aid/api"
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
@@ -0,0 +1,32 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'laa/apply_for_legal_aid/api/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'laa-apply-for-legalaid-api-client'
7
+ spec.version = Laa::ApplyForLegalAid::Api::VERSION
8
+ spec.authors = ['Sergio Marques', 'Ministry of Justice']
9
+ spec.email = ['sergio.marques@digital.justice.gov.uk', 'tools@digital.justice.gov.uk']
10
+
11
+ spec.summary = %q{Ruby client for the LAA Apply for legal aid API}
12
+ spec.homepage = 'https://github.com/ministryofjustice/laa-apply-for-legalaid-api-ruby-client'
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
+ spec.bindir = 'exe'
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_dependency 'faraday', '~> 0.15.2'
23
+ spec.add_dependency 'faraday_middleware', '~> 0.12.2'
24
+
25
+ spec.add_development_dependency 'bundler', '~> 1.16'
26
+ spec.add_development_dependency 'json_matchers', '~> 0.10.0'
27
+ spec.add_development_dependency 'pry-byebug', '~> 3.6.0'
28
+ spec.add_development_dependency 'rake', '~> 10.0'
29
+ spec.add_development_dependency 'rspec', '~> 3.0'
30
+ spec.add_development_dependency 'vcr', '~> 4.0.0'
31
+ spec.add_development_dependency 'webmock', '~> 3.4.2'
32
+ end
@@ -0,0 +1 @@
1
+ require 'laa/apply_for_legal_aid/api'
@@ -0,0 +1,26 @@
1
+ require 'laa/apply_for_legal_aid/api/version'
2
+ require 'laa/apply_for_legal_aid/api/core_ext/array'
3
+ require 'laa/apply_for_legal_aid/api/configuration'
4
+ require 'laa/apply_for_legal_aid/api/client'
5
+
6
+ module Laa
7
+ module ApplyForLegalAid
8
+ module Api
9
+ extend self
10
+
11
+ def configuration
12
+ @configuration ||= Configuration.new
13
+ end
14
+ alias config configuration
15
+
16
+ def configure
17
+ yield(configuration) if block_given?
18
+ configuration
19
+ end
20
+
21
+ def client
22
+ Client.new(configuration.host)
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,42 @@
1
+ require 'faraday'
2
+ require 'faraday_middleware'
3
+ require_relative 'request'
4
+ require_relative 'requests'
5
+
6
+ module Laa
7
+ module ApplyForLegalAid
8
+ module Api
9
+ class Client
10
+ attr_reader :host
11
+
12
+ include Requests
13
+
14
+ def initialize(host, options = {})
15
+ @host = host
16
+ @options = options
17
+ end
18
+
19
+ def method_missing(method_name, *args, &block)
20
+ return super unless Request::HTTP_METHODS.include?(method_name)
21
+ path = args.shift
22
+ req_options = args.extract_options!
23
+ Request.new(method_name, path, connection).call(req_options)
24
+ end
25
+
26
+ private
27
+
28
+ def connection
29
+ @connection ||= initialize_connection
30
+ end
31
+
32
+ def initialize_connection
33
+ Faraday.new(url: host) do |conn|
34
+ conn.request :json
35
+ conn.response :json, content_type: /\bjson$/
36
+ conn.adapter Faraday.default_adapter
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,13 @@
1
+ module Laa
2
+ module ApplyForLegalAid
3
+ module Api
4
+ class Configuration
5
+ attr_accessor :host
6
+
7
+ def initialize(options = {})
8
+ @host = options[:host]
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,5 @@
1
+ class Array
2
+ def extract_options!
3
+ last.is_a?(::Hash) ? pop : {}
4
+ end unless method_defined? :extract_options!
5
+ end
@@ -0,0 +1,45 @@
1
+ module Laa
2
+ module ApplyForLegalAid
3
+ module Api
4
+ class Request
5
+ HTTP_METHODS = [:get, :head, :post, :put, :delete, :patch].freeze
6
+ HTTP_METHODS_WITH_BODY = [:post, :put, :patch].freeze
7
+
8
+ attr_reader :action, :path
9
+
10
+ def initialize(action, path, connection)
11
+ @action = action
12
+ @path = path
13
+ @connection = connection
14
+ validate_http_method
15
+ end
16
+
17
+ def call(options = {})
18
+ # TODO: wrap the response in a response object we own
19
+ connection.send(action) do |request|
20
+ request.url(path, options[:query] || {})
21
+ request.body = request_body(options[:data]) if body_required? && options.has_key?(:data)
22
+ end
23
+ end
24
+
25
+ private
26
+
27
+ attr_reader :connection
28
+
29
+ def validate_http_method
30
+ return if HTTP_METHODS.include?(action)
31
+ raise ArgumentError, "invalid HTTP method #{action}"
32
+ end
33
+
34
+ def body_required?
35
+ HTTP_METHODS_WITH_BODY.include?(action)
36
+ end
37
+
38
+ def request_body(data)
39
+ return data if data.is_a?(String)
40
+ data.to_json
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,13 @@
1
+ require 'laa/apply_for_legal_aid/api/requests/applications'
2
+
3
+ module Laa
4
+ module ApplyForLegalAid
5
+ module Api
6
+ module Requests
7
+ def self.included(base)
8
+ base.include(Applications)
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,21 @@
1
+ module Laa
2
+ module ApplyForLegalAid
3
+ module Api
4
+ module Requests
5
+ module Applications
6
+ def create_application(params)
7
+ post("/v1/applications", params)
8
+ end
9
+
10
+ def update_application(params)
11
+ patch("/v1/applications", params)
12
+ end
13
+
14
+ def get_application(application_id)
15
+ get("/v1/applications/#{application_id}")
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,7 @@
1
+ module Laa
2
+ module ApplyForLegalAid
3
+ module Api
4
+ VERSION = "0.1.0"
5
+ end
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,192 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: laa-apply-for-legalaid-api-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Sergio Marques
8
+ - Ministry of Justice
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2018-09-12 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: faraday
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 0.15.2
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 0.15.2
28
+ - !ruby/object:Gem::Dependency
29
+ name: faraday_middleware
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: 0.12.2
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: 0.12.2
42
+ - !ruby/object:Gem::Dependency
43
+ name: bundler
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.16'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.16'
56
+ - !ruby/object:Gem::Dependency
57
+ name: json_matchers
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 0.10.0
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: 0.10.0
70
+ - !ruby/object:Gem::Dependency
71
+ name: pry-byebug
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: 3.6.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: 3.6.0
84
+ - !ruby/object:Gem::Dependency
85
+ name: rake
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '10.0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '10.0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: rspec
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '3.0'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '3.0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: vcr
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: 4.0.0
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: 4.0.0
126
+ - !ruby/object:Gem::Dependency
127
+ name: webmock
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: 3.4.2
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: 3.4.2
140
+ description:
141
+ email:
142
+ - sergio.marques@digital.justice.gov.uk
143
+ - tools@digital.justice.gov.uk
144
+ executables: []
145
+ extensions: []
146
+ extra_rdoc_files: []
147
+ files:
148
+ - ".circleci/config.yml"
149
+ - ".gitignore"
150
+ - Gemfile
151
+ - Gemfile.lock
152
+ - LICENSE
153
+ - LICENSE.txt
154
+ - README.md
155
+ - Rakefile
156
+ - bin/console
157
+ - bin/setup
158
+ - laa-apply-for-legalaid-api-client.gemspec
159
+ - lib/laa-apply-for-legalaid-api-client.rb
160
+ - lib/laa/apply_for_legal_aid/api.rb
161
+ - lib/laa/apply_for_legal_aid/api/client.rb
162
+ - lib/laa/apply_for_legal_aid/api/configuration.rb
163
+ - lib/laa/apply_for_legal_aid/api/core_ext/array.rb
164
+ - lib/laa/apply_for_legal_aid/api/request.rb
165
+ - lib/laa/apply_for_legal_aid/api/requests.rb
166
+ - lib/laa/apply_for_legal_aid/api/requests/applications.rb
167
+ - lib/laa/apply_for_legal_aid/api/version.rb
168
+ homepage: https://github.com/ministryofjustice/laa-apply-for-legalaid-api-ruby-client
169
+ licenses:
170
+ - MIT
171
+ metadata: {}
172
+ post_install_message:
173
+ rdoc_options: []
174
+ require_paths:
175
+ - lib
176
+ required_ruby_version: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ required_rubygems_version: !ruby/object:Gem::Requirement
182
+ requirements:
183
+ - - ">="
184
+ - !ruby/object:Gem::Version
185
+ version: '0'
186
+ requirements: []
187
+ rubyforge_project:
188
+ rubygems_version: 2.7.4
189
+ signing_key:
190
+ specification_version: 4
191
+ summary: Ruby client for the LAA Apply for legal aid API
192
+ test_files: []