http-client-generator 0.1.29 → 0.1.30

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: dd074a8cbd648b5b594dd0ef0fd9814100c671367d3e08e6de86fc004d209af4
4
- data.tar.gz: 31b08db03a1635e2ed14e637b0d21583db65245dfb1948fe0c0fff725aaa431d
3
+ metadata.gz: 438bc8f1ea685db474f035bf63f255ab08dca8a04c29cdb6257989fac8131200
4
+ data.tar.gz: 28f34fbea182ee2d04ea761ad795356e1c479615e73abe70812a92b919845927
5
5
  SHA512:
6
- metadata.gz: b2e3ba7c6ac9722ecb4bdd4b85735e78c22fa521451a83ca34f752800d7834b1a9bd79e96ee81afbdddf211679b38e1aadec23c827b6fae25d73738c467dc488
7
- data.tar.gz: c2215f837cc1c320c9850236d8c805b6c122c7065cbe650f14a629f31ca24382a5fd428c771695367df4c4468dd4de8cd4d2b70480f2327e1f6a9370e17992e3
6
+ metadata.gz: 61286bf0e127604db8cbf95622e1341841fb8ee600f646b2b096059a731d8f44762943c9868e775e44b6a74b19418252b9795586093f5937d3770a42124ef9a8
7
+ data.tar.gz: b9452428bdb610ca52630a2d85163695f59f7071f08f409b4125447efc02aa7015ca94668af6d14729563391ef30582b96b3624fc0d35dd08b78507d08ce3db5
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HttpClientGenerator
4
- VERSION = '0.1.29'
4
+ VERSION = '0.1.30'
5
5
  end
@@ -25,7 +25,7 @@ module HttpClientGenerator
25
25
  resources = resources_definition.resources
26
26
 
27
27
  resources.each do |resource|
28
- method_name = :"#{resource.name}_#{resource.verb}"
28
+ method_name = :"#{resource.verb}_#{resource.name}"
29
29
 
30
30
  define_singleton_method(method_name) do |url_options = {}, body: nil, **rest_args|
31
31
  resource.perform_request(@url_helper, url_options, body, rest_args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http-client-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.29
4
+ version: 0.1.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Egorov