foobara-http-api-command 0.0.5 → 0.0.6

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
  SHA256:
3
- metadata.gz: 47344f134791c7562826026ebe261a8e89152295bb9c65fd8bc7d3a3e8bad97f
4
- data.tar.gz: 3db4128c29680b07b59c66a76e8a53daccac99fc589d418ad0e0141c28069d97
3
+ metadata.gz: 9e260c28660b274db261a8cb7516ba3763ab534f7155b5f3dff42f6e14d735c2
4
+ data.tar.gz: 126c8c76cd2a14d54d5a3da3f44e79f2da110d253b8e7d387d002eb3b5c17e59
5
5
  SHA512:
6
- metadata.gz: 5ceca930f5086d7fd0a1814de7cc6915bbace3a0d6c85ba57e19f120004901d1ee823da5d8221c11d1d67a6e3bf82702ea959cce60246aef49b86b423a3b4744
7
- data.tar.gz: 2ceaa7be546bde7d013c72dda00829c8f06b52267999c2e98024887d7664d81385ece7536cd3f66b04442d123edb3058d68d824ea27adc78a87e91fb62ed4374
6
+ metadata.gz: 1f5afa79b0cc20bbd8e1a056cac98e62e9490af23f085f3387a68f139eb30fc5ff31d24900ce249baa6910c7ad73dfd8e229aa7afcce9673c394dad4522cd77d
7
+ data.tar.gz: 2d892b329fa23240b6da945db808eac5f518d1a0cca1ff68f9be084d95e4fde0699bbbbb0529897bb9a6925ce6ec27faad40df4ebc986745671d067ead60d0ee
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## [0.0.5] - 2025-02-17
1
+ ## [0.0.6] - 2025-02-17
2
2
 
3
3
  - Support separate base_url and path helpers
4
4
  - Eliminate concept of separate mixins for different HTTP methods
@@ -8,14 +8,14 @@ module Foobara
8
8
  @api_url ||= self.class.compute_api_url(self)
9
9
  end
10
10
 
11
- module ClassMethods
12
- attr_accessor :foobara_base_url_block,
13
- :foobara_base_url,
14
- :foobara_path,
15
- :foobara_url_block,
16
- :foobara_url,
17
- :foobara_http_method
11
+ inherited_overridable_class_attr_accessor :foobara_base_url_block,
12
+ :foobara_base_url,
13
+ :foobara_path,
14
+ :foobara_url_block,
15
+ :foobara_url,
16
+ :foobara_http_method
18
17
 
18
+ module ClassMethods
19
19
  def http_method(method = nil)
20
20
  if method
21
21
  self.foobara_http_method = method
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-http-api-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi