Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
branches:
- '**'
- '!integrated/**'
- '!stl-preview-head/**'
- '!stl-preview-base/**'
- '!generated'
- '!codegen/**'
- 'codegen/stl/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.28.2"
".": "0.29.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 20
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-584d3486a6c5bf7b68dcaacb0bde2ef5f648c158e5c5ebccc7a7684d95abc832.yml
openapi_spec_hash: 29a53e1f96a2c5d9407f1a0938e301bf
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-67e4ffa39d74649a6ae6b21e9f86cffa83c8a02d640ca6b4d4a3e619b54fbd38.yml
openapi_spec_hash: 762e7ea7ae23297cc6b01f600a485410
config_hash: 4cd3173ea1cce7183640aae49cfbb374
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.29.0 (2026-03-18)

Full Changelog: [v0.28.2...v0.29.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.28.2...v0.29.0)

### Features

* **api:** api update ([6b3e6eb](https://github.com/brand-dot-dev/ruby-sdk/commit/6b3e6eb32404ba09504f76b9fa73111fb5a49523))


### Chores

* **internal:** tweak CI branches ([4b44d16](https://github.com/brand-dot-dev/ruby-sdk/commit/4b44d16f3582378f4b156a6b95a32f3383cc640f))

## 0.28.2 (2026-03-07)

Full Changelog: [v0.28.1...v0.28.2](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.28.1...v0.28.2)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
brand.dev (0.28.2)
brand.dev (0.29.0)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "brand.dev", "~> 0.28.2"
gem "brand.dev", "~> 0.29.0"
```

<!-- x-release-please-end -->
Expand Down
260 changes: 259 additions & 1 deletion lib/brand_dev/models/brand_retrieve_by_name_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ class BrandRetrieveByNameParams < BrandDev::Internal::Type::BaseModel
# @return [String]
required :name, String

# @!attribute country_gl
# Optional country code (GL parameter) to specify the country. This affects the
# geographic location used for search queries.
#
# @return [Symbol, BrandDev::Models::BrandRetrieveByNameParams::CountryGl, nil]
optional :country_gl, enum: -> { BrandDev::BrandRetrieveByNameParams::CountryGl }

# @!attribute force_language
# Optional parameter to force the language of the retrieved brand data.
#
Expand All @@ -36,12 +43,14 @@ class BrandRetrieveByNameParams < BrandDev::Internal::Type::BaseModel
# @return [Integer, nil]
optional :timeout_ms, Integer

# @!method initialize(name:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# @!method initialize(name:, country_gl: nil, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {BrandDev::Models::BrandRetrieveByNameParams} for more details.
#
# @param name [String] Company name to retrieve brand data for (e.g., 'Apple Inc', 'Microsoft Corporati
#
# @param country_gl [Symbol, BrandDev::Models::BrandRetrieveByNameParams::CountryGl] Optional country code (GL parameter) to specify the country. This affects the ge
#
# @param force_language [Symbol, BrandDev::Models::BrandRetrieveByNameParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
#
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
Expand All @@ -50,6 +59,255 @@ class BrandRetrieveByNameParams < BrandDev::Internal::Type::BaseModel
#
# @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]

# Optional country code (GL parameter) to specify the country. This affects the
# geographic location used for search queries.
module CountryGl
extend BrandDev::Internal::Type::Enum

AD = :ad
AE = :ae
AF = :af
AG = :ag
AI = :ai
AL = :al
AM = :am
AN = :an
AO = :ao
AQ = :aq
AR = :ar
AS = :as
AT = :at
AU = :au
AW = :aw
AZ = :az
BA = :ba
BB = :bb
BD = :bd
BE = :be
BF = :bf
BG = :bg
BH = :bh
BI = :bi
BJ = :bj
BM = :bm
BN = :bn
BO = :bo
BR = :br
BS = :bs
BT = :bt
BV = :bv
BW = :bw
BY = :by
BZ = :bz
CA = :ca
CC = :cc
CD = :cd
CF = :cf
CG = :cg
CH = :ch
CI = :ci
CK = :ck
CL = :cl
CM = :cm
CN = :cn
CO = :co
CR = :cr
CU = :cu
CV = :cv
CX = :cx
CY = :cy
CZ = :cz
DE = :de
DJ = :dj
DK = :dk
DM = :dm
DO = :do
DZ = :dz
EC = :ec
EE = :ee
EG = :eg
EH = :eh
ER = :er
ES = :es
ET = :et
FI = :fi
FJ = :fj
FK = :fk
FM = :fm
FO = :fo
FR = :fr
GA = :ga
GB = :gb
GD = :gd
GE = :ge
GF = :gf
GH = :gh
GI = :gi
GL = :gl
GM = :gm
GN = :gn
GP = :gp
GQ = :gq
GR = :gr
GS = :gs
GT = :gt
GU = :gu
GW = :gw
GY = :gy
HK = :hk
HM = :hm
HN = :hn
HR = :hr
HT = :ht
HU = :hu
ID = :id
IE = :ie
IL = :il
IN = :in
IO = :io
IQ = :iq
IR = :ir
IS = :is
IT = :it
JM = :jm
JO = :jo
JP = :jp
KE = :ke
KG = :kg
KH = :kh
KI = :ki
KM = :km
KN = :kn
KP = :kp
KR = :kr
KW = :kw
KY = :ky
KZ = :kz
LA = :la
LB = :lb
LC = :lc
LI = :li
LK = :lk
LR = :lr
LS = :ls
LT = :lt
LU = :lu
LV = :lv
LY = :ly
MA = :ma
MC = :mc
MD = :md
MG = :mg
MH = :mh
MK = :mk
ML = :ml
MM = :mm
MN = :mn
MO = :mo
MP = :mp
MQ = :mq
MR = :mr
MS = :ms
MT = :mt
MU = :mu
MV = :mv
MW = :mw
MX = :mx
MY = :my
MZ = :mz
NA = :na
NC = :nc
NE = :ne
NF = :nf
NG = :ng
NI = :ni
NL = :nl
NO = :no
NP = :np
NR = :nr
NU = :nu
NZ = :nz
OM = :om
PA = :pa
PE = :pe
PF = :pf
PG = :pg
PH = :ph
PK = :pk
PL = :pl
PM = :pm
PN = :pn
PR = :pr
PS = :ps
PT = :pt
PW = :pw
PY = :py
QA = :qa
RE = :re
RO = :ro
RS = :rs
RU = :ru
RW = :rw
SA = :sa
SB = :sb
SC = :sc
SD = :sd
SE = :se
SG = :sg
SH = :sh
SI = :si
SJ = :sj
SK = :sk
SL = :sl
SM = :sm
SN = :sn
SO = :so
SR = :sr
ST = :st
SV = :sv
SY = :sy
SZ = :sz
TC = :tc
TD = :td
TF = :tf
TG = :tg
TH = :th
TJ = :tj
TK = :tk
TL = :tl
TM = :tm
TN = :tn
TO = :to
TR = :tr
TT = :tt
TV = :tv
TW = :tw
TZ = :tz
UA = :ua
UG = :ug
UM = :um
US = :us
UY = :uy
UZ = :uz
VA = :va
VC = :vc
VE = :ve
VG = :vg
VI = :vi
VN = :vn
VU = :vu
WF = :wf
WS = :ws
YE = :ye
YT = :yt
ZA = :za
ZM = :zm
ZW = :zw

# @!method self.values
# @return [Array<Symbol>]
end

# Optional parameter to force the language of the retrieved brand data.
module ForceLanguage
extend BrandDev::Internal::Type::Enum
Expand Down
4 changes: 3 additions & 1 deletion lib/brand_dev/resources/brand.rb
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,12 @@ def retrieve_by_isin(params)
# Retrieve brand information using a company name. This endpoint searches for the
# company by name and returns its brand data.
#
# @overload retrieve_by_name(name:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
# @overload retrieve_by_name(name:, country_gl: nil, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
#
# @param name [String] Company name to retrieve brand data for (e.g., 'Apple Inc', 'Microsoft Corporati
#
# @param country_gl [Symbol, BrandDev::Models::BrandRetrieveByNameParams::CountryGl] Optional country code (GL parameter) to specify the country. This affects the ge
#
# @param force_language [Symbol, BrandDev::Models::BrandRetrieveByNameParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
#
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
Expand Down
2 changes: 1 addition & 1 deletion lib/brand_dev/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module BrandDev
VERSION = "0.28.2"
VERSION = "0.29.0"
end
Loading
Loading