auto-api-client 1.0.1 → 1.0.2

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: ae07c9fe7b7b0bb9d0f7588767ee92d750e7f613736cc1a692802e11043cfcd7
4
- data.tar.gz: 65d342422d549dd9e5eadd8e6a68ef678da41d042afc55251f751940fe3cba6e
3
+ metadata.gz: ae0de0b5841f1a13042cc20788bdf3fc101c79ab76e4526f409ccd5fb749670c
4
+ data.tar.gz: 13074bd3bf00914c19305c17cad321e24b2461cfa53fcf43fabeaeb0a2cbe359
5
5
  SHA512:
6
- metadata.gz: 3fd2f428bc5a51cb032768df892cb46377a2a545f8e2bf9bfb8520d2c67126d90e5eea1e69b7b3f8c0164fd6e4ef358dfcdef83ec4b888ab3b8c7c03d3bc1894
7
- data.tar.gz: '0597e2691260b8fa65c9fe491694535b74d8716a51d27088d156f8a54bffe2670fff56f5f84619054d69672eadd1ffc492bcb22a0806d15fe1fd682dfa40dc61'
6
+ metadata.gz: a104a38f34443a2fbb5fa9197140354bdbaaea7b0183527762124f1f96552f0b7ca0e5fe075075ce14824a8b394662efe3625dc4b92ce2ca9905e79e9861bb80
7
+ data.tar.gz: a8b4e0676ab8b5d768a02a4919fc4f75036de75b1920068647d992d13226a8236a0f83535f050f51ea5d9395c0cccbdfe3375c5bebedcedf65e9d0bf11919753
data/README.md CHANGED
@@ -25,7 +25,7 @@ gem "auto-api-client"
25
25
  ```ruby
26
26
  require "auto_api"
27
27
 
28
- client = AutoApi::Client.new("your-api-key")
28
+ client = AutoApi::Client.new("your-api-key", "https://api1.auto-api.com")
29
29
  ```
30
30
 
31
31
  ### Get filters
@@ -10,9 +10,9 @@ module AutoApi
10
10
  # Creates a new API client.
11
11
  #
12
12
  # @param api_key [String] API key from auto-api.com
13
+ # @param base_url [String] base URL (default: "https://api1.auto-api.com")
13
14
  # @param api_version [String] API version (default: "v2")
14
- # @param base_url [String] base URL override (default: "https://auto-api.com")
15
- def initialize(api_key, api_version: "v2", base_url: "https://auto-api.com")
15
+ def initialize(api_key, base_url = "https://api1.auto-api.com", api_version: "v2")
16
16
  @api_key = api_key
17
17
  @api_version = api_version
18
18
  @base_url = base_url.chomp("/")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AutoApi
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auto-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - AUTO-API.COM
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-11 00:00:00.000000000 Z
11
+ date: 2026-02-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Access car listings from encar, mobile.de, autoscout24, che168 and other
14
14
  marketplaces via auto-api.com.