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.0.2"
".": "0.1.0"
}
6 changes: 3 additions & 3 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/context-dev%2Fcontext.dev-a69e6793d72c7f91069972b64ff2e35b4ddfa62cd35d6451b7d63f95d5957951.yml
openapi_spec_hash: 8a77eef26c37dc2b63110169f0eef1f6
config_hash: 49386fa4009baff4a8e35e9453fa6297
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-c5d5abb4b31f6e352e3e02b47120e3f444377c1c564f141ebe0988b86ba5932e.yml
openapi_spec_hash: 8ef4803fbe33ae6472a4b8f660be7921
config_hash: a144af00e5e74176674d0ea954cc02c5
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.1.0 (2026-03-18)

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

### Features

* **api:** api update ([97eac17](https://github.com/brand-dot-dev/context-ruby-sdk/commit/97eac17686bff356d4d5b6ad6438beb24c05b05a))


### Chores

* **internal:** tweak CI branches ([2b124b9](https://github.com/brand-dot-dev/context-ruby-sdk/commit/2b124b9fd6a5eeb81fa445afc448ce4819fc077e))

## 0.0.2 (2026-03-14)

Full Changelog: [v0.0.1...v0.0.2](https://github.com/brand-dot-dev/context-ruby-sdk/compare/v0.0.1...v0.0.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:
context.dev (0.0.2)
context.dev (0.1.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 "context.dev", "~> 0.0.2"
gem "context.dev", "~> 0.1.0"
```

<!-- x-release-please-end -->
Expand Down
260 changes: 259 additions & 1 deletion lib/context_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 < ContextDev::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, ContextDev::Models::BrandRetrieveByNameParams::CountryGl, nil]
optional :country_gl, enum: -> { ContextDev::BrandRetrieveByNameParams::CountryGl }

# @!attribute force_language
# Optional parameter to force the language of the retrieved brand data.
#
Expand All @@ -36,12 +43,14 @@ class BrandRetrieveByNameParams < ContextDev::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
# {ContextDev::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, ContextDev::Models::BrandRetrieveByNameParams::CountryGl] Optional country code (GL parameter) to specify the country. This affects the ge
#
# @param force_language [Symbol, ContextDev::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 < ContextDev::Internal::Type::BaseModel
#
# @param request_options [ContextDev::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 ContextDev::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 ContextDev::Internal::Type::Enum
Expand Down
4 changes: 3 additions & 1 deletion lib/context_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, ContextDev::Models::BrandRetrieveByNameParams::CountryGl] Optional country code (GL parameter) to specify the country. This affects the ge
#
# @param force_language [Symbol, ContextDev::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/context_dev/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ContextDev
VERSION = "0.0.2"
VERSION = "0.1.0"
end
Loading
Loading