laa-apply-for-legalaid-api-client 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c446225b8c49b8f46af42ad9ec333eebce1e397784657aa1dec184ae7d21b95
4
- data.tar.gz: 07a627b7e67403e3e54c921e4ebcb7027eb73963cbc39e65a2034e52e4e8dbf0
3
+ metadata.gz: 4229a715c4ddab000876a987e790b81489326d948982ae883e7746b2e1c35e2a
4
+ data.tar.gz: 3f6c15ee4c15819a11712a169007a5f45ac78f458e2ae2577437b09b5abed8a4
5
5
  SHA512:
6
- metadata.gz: 4e6967946c96cf52cd28bcc1e0d2b565d96c9bfa5ad380c0d1a603c09903fc923dabc20c41a62c6c72b0c6dbd444773ee91137e49b30d018d4dc7c104b717b25
7
- data.tar.gz: c5acd551bb10e79961f71c9b191c9ebe1c8b10fd9b5039ab4801332aa5543235b8869f90df3b0d31df4e4e191696011fd4277158f983cc0a020ea5fa6596586a
6
+ metadata.gz: ea400d06db75e9e4467c4b0a751d9b51a23e909cd1f14d9e690f7a7a32bc47945a8e1a08d9d9dd9d7f093ef848fbf3a42c5c40cf0e76120dfaf20dbe9233d628
7
+ data.tar.gz: 69a218c935c135651817533e429e41599f78a9b94ef51a3c232863513c47e1c5d8e6e00311a30c56c5b1e5c34c0ae4a6fbd93ebcc9ecafd1913e9ef52a9d5cfb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- laa-apply-for-legalaid-api-client (0.2.0)
4
+ laa-apply-for-legalaid-api-client (0.3.0)
5
5
  faraday (~> 0.15.2)
6
6
  faraday_middleware (~> 0.12.2)
7
7
 
@@ -15,7 +15,7 @@ GEM
15
15
  crack (0.4.3)
16
16
  safe_yaml (~> 1.0.0)
17
17
  diff-lcs (1.3)
18
- faraday (0.15.2)
18
+ faraday (0.15.3)
19
19
  multipart-post (>= 1.2, < 3)
20
20
  faraday_middleware (0.12.2)
21
21
  faraday (>= 0.7.4, < 1.0)
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
  webmock (~> 3.4.2)
68
68
 
69
69
  BUNDLED WITH
70
- 1.16.0
70
+ 1.16.3
@@ -1,3 +1,4 @@
1
+ require 'laa/apply_for_legal_aid/api/requests/addresses'
1
2
  require 'laa/apply_for_legal_aid/api/requests/applications'
2
3
  require 'laa/apply_for_legal_aid/api/requests/applicants'
3
4
  require 'laa/apply_for_legal_aid/api/requests/proceeding_types'
@@ -7,6 +8,7 @@ module Laa
7
8
  module Api
8
9
  module Requests
9
10
  def self.included(base)
11
+ base.include(Addresses)
10
12
  base.include(Applications)
11
13
  base.include(Applicants)
12
14
  base.include(ProceedingTypes)
@@ -0,0 +1,13 @@
1
+ module Laa
2
+ module ApplyForLegalAid
3
+ module Api
4
+ module Requests
5
+ module Addresses
6
+ def create_address(applicant_id, params)
7
+ post("/v1/applicants/#{applicant_id}/addresses", data: params)
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,7 +1,7 @@
1
1
  module Laa
2
2
  module ApplyForLegalAid
3
3
  module Api
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: laa-apply-for-legalaid-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Marques
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-10-08 00:00:00.000000000 Z
12
+ date: 2018-10-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -163,6 +163,7 @@ files:
163
163
  - lib/laa/apply_for_legal_aid/api/core_ext/array.rb
164
164
  - lib/laa/apply_for_legal_aid/api/request.rb
165
165
  - lib/laa/apply_for_legal_aid/api/requests.rb
166
+ - lib/laa/apply_for_legal_aid/api/requests/addresses.rb
166
167
  - lib/laa/apply_for_legal_aid/api/requests/applicants.rb
167
168
  - lib/laa/apply_for_legal_aid/api/requests/applications.rb
168
169
  - lib/laa/apply_for_legal_aid/api/requests/proceeding_types.rb
@@ -187,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
188
  version: '0'
188
189
  requirements: []
189
190
  rubyforge_project:
190
- rubygems_version: 2.7.4
191
+ rubygems_version: 2.7.7
191
192
  signing_key:
192
193
  specification_version: 4
193
194
  summary: Ruby client for the LAA Apply for legal aid API