clx_rest_api 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f033dbed9123ddc24e6389eaeadfb811fd79313
4
- data.tar.gz: ced443ffd50ea1d78b055ba4dad282df8ee08ae7
3
+ metadata.gz: 59666b1a66940f47a2b741883a6ee50a444bc1d6
4
+ data.tar.gz: 8631053620e1d80c3ead73c9815768b47d0e2779
5
5
  SHA512:
6
- metadata.gz: 510a052382b2166d9e2d93921b24c50bf987ad74494d200b5191c08e984ea05d787b99de135c043e860dd4060843baf464725b9c7025cea1e42eeab38f07a140
7
- data.tar.gz: '084f7a913e9716bf6cd3cfc8a998058d502207fe1be2d04630222ba1caf52f0102c15d5bd763e19c7bb961cff352ff4991c4748da9c11b0773f3e977ca86111d'
6
+ metadata.gz: f42c4e34c31713caf421b31035eb94f5673bcc9cc2bc24457d7629758a6812692a3690a5889558e9129f4ac90aefc45a0cf75c3981c3d5d21eb19db11ce80152
7
+ data.tar.gz: b658201712b558f0a7e4e204d9632faa4c309565a2eec5b03d3246cf40a0ce8937ab0318fb4c5c6d093cb14bb5d9b9dfa0652f6f689df92e6949614487423110
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clx_rest_api (0.1.3)
4
+ clx_rest_api (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -6,8 +6,8 @@ module CLXRestAPI
6
6
  module EndpointDSL
7
7
  def define_endpoint(name, method, uri)
8
8
  define_method(name) do |args = {}|
9
- uri = URIInterpretation.new(uri, OpenStruct.new(args), config: @config).to_s
10
- request = CLXRestAPI::Request.new(uri, method: method, config: @config)
9
+ new_uri = URIInterpretation.new(uri, OpenStruct.new(args), config: @config).to_s
10
+ request = CLXRestAPI::Request.new(new_uri, method: method, config: @config)
11
11
  request.execute(args[:params] || {})
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module CLXRestAPI
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clx_rest_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emric