Skip to content

Commit

Permalink
Merge pull request #1337 from kirillplatonov/type-fixes
Browse files Browse the repository at this point in the history
Fix type for Shop#google_apps_login_enabled
  • Loading branch information
paulomarg authored Aug 27, 2024
2 parents a3c0772 + 2be3818 commit bd811ca
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 20 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Note: For changes to the API, see https://shopify.dev/changelog?filter=api

## Unreleased

- [#1337](https://github.com/Shopify/shopify-api-ruby/pull/1337) Fix type for Shop#google_apps_login_enabled

## 14.5.0

- [#1327](https://github.com/Shopify/shopify-api-ruby/pull/1327) Support `?debug=true` parameter in GraphQL client requests
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_api/rest/resources/2022_04/shop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
@finances = T.let(nil, T.nilable(T::Boolean))
@force_ssl = T.let(nil, T.nilable(T::Boolean))
@google_apps_domain = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(T::Boolean))
@has_discounts = T.let(nil, T.nilable(T::Boolean))
@has_gift_cards = T.let(nil, T.nilable(T::Boolean))
@has_storefront = T.let(nil, T.nilable(T::Boolean))
Expand Down Expand Up @@ -123,7 +123,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
attr_reader :force_ssl
sig { returns(T.nilable(String)) }
attr_reader :google_apps_domain
sig { returns(T.nilable(String)) }
sig { returns(T.nilable(T::Boolean)) }
attr_reader :google_apps_login_enabled
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_discounts
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_api/rest/resources/2022_07/shop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
@finances = T.let(nil, T.nilable(T::Boolean))
@force_ssl = T.let(nil, T.nilable(T::Boolean))
@google_apps_domain = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(T::Boolean))
@has_discounts = T.let(nil, T.nilable(T::Boolean))
@has_gift_cards = T.let(nil, T.nilable(T::Boolean))
@has_storefront = T.let(nil, T.nilable(T::Boolean))
Expand Down Expand Up @@ -123,7 +123,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
attr_reader :force_ssl
sig { returns(T.nilable(String)) }
attr_reader :google_apps_domain
sig { returns(T.nilable(String)) }
sig { returns(T.nilable(T::Boolean)) }
attr_reader :google_apps_login_enabled
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_discounts
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_api/rest/resources/2022_10/shop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
@finances = T.let(nil, T.nilable(T::Boolean))
@force_ssl = T.let(nil, T.nilable(T::Boolean))
@google_apps_domain = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(T::Boolean))
@has_discounts = T.let(nil, T.nilable(T::Boolean))
@has_gift_cards = T.let(nil, T.nilable(T::Boolean))
@has_storefront = T.let(nil, T.nilable(T::Boolean))
Expand Down Expand Up @@ -121,7 +121,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
attr_reader :force_ssl
sig { returns(T.nilable(String)) }
attr_reader :google_apps_domain
sig { returns(T.nilable(String)) }
sig { returns(T.nilable(T::Boolean)) }
attr_reader :google_apps_login_enabled
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_discounts
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_api/rest/resources/2023_01/shop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
@finances = T.let(nil, T.nilable(T::Boolean))
@force_ssl = T.let(nil, T.nilable(T::Boolean))
@google_apps_domain = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(T::Boolean))
@has_discounts = T.let(nil, T.nilable(T::Boolean))
@has_gift_cards = T.let(nil, T.nilable(T::Boolean))
@has_storefront = T.let(nil, T.nilable(T::Boolean))
Expand Down Expand Up @@ -121,7 +121,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
attr_reader :force_ssl
sig { returns(T.nilable(String)) }
attr_reader :google_apps_domain
sig { returns(T.nilable(String)) }
sig { returns(T.nilable(T::Boolean)) }
attr_reader :google_apps_login_enabled
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_discounts
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_api/rest/resources/2023_04/shop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
@finances = T.let(nil, T.nilable(T::Boolean))
@force_ssl = T.let(nil, T.nilable(T::Boolean))
@google_apps_domain = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(T::Boolean))
@has_discounts = T.let(nil, T.nilable(T::Boolean))
@has_gift_cards = T.let(nil, T.nilable(T::Boolean))
@has_storefront = T.let(nil, T.nilable(T::Boolean))
Expand Down Expand Up @@ -121,7 +121,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
attr_reader :force_ssl
sig { returns(T.nilable(String)) }
attr_reader :google_apps_domain
sig { returns(T.nilable(String)) }
sig { returns(T.nilable(T::Boolean)) }
attr_reader :google_apps_login_enabled
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_discounts
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_api/rest/resources/2023_07/shop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
@finances = T.let(nil, T.nilable(T::Boolean))
@force_ssl = T.let(nil, T.nilable(T::Boolean))
@google_apps_domain = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(T::Boolean))
@has_discounts = T.let(nil, T.nilable(T::Boolean))
@has_gift_cards = T.let(nil, T.nilable(T::Boolean))
@has_storefront = T.let(nil, T.nilable(T::Boolean))
Expand Down Expand Up @@ -121,7 +121,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
attr_reader :force_ssl
sig { returns(T.nilable(String)) }
attr_reader :google_apps_domain
sig { returns(T.nilable(String)) }
sig { returns(T.nilable(T::Boolean)) }
attr_reader :google_apps_login_enabled
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_discounts
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_api/rest/resources/2023_10/shop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
@finances = T.let(nil, T.nilable(T::Boolean))
@force_ssl = T.let(nil, T.nilable(T::Boolean))
@google_apps_domain = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(T::Boolean))
@has_discounts = T.let(nil, T.nilable(T::Boolean))
@has_gift_cards = T.let(nil, T.nilable(T::Boolean))
@has_storefront = T.let(nil, T.nilable(T::Boolean))
Expand Down Expand Up @@ -121,7 +121,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
attr_reader :force_ssl
sig { returns(T.nilable(String)) }
attr_reader :google_apps_domain
sig { returns(T.nilable(String)) }
sig { returns(T.nilable(T::Boolean)) }
attr_reader :google_apps_login_enabled
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_discounts
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_api/rest/resources/2024_01/shop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
@finances = T.let(nil, T.nilable(T::Boolean))
@force_ssl = T.let(nil, T.nilable(T::Boolean))
@google_apps_domain = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(T::Boolean))
@has_discounts = T.let(nil, T.nilable(T::Boolean))
@has_gift_cards = T.let(nil, T.nilable(T::Boolean))
@has_storefront = T.let(nil, T.nilable(T::Boolean))
Expand Down Expand Up @@ -121,7 +121,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
attr_reader :force_ssl
sig { returns(T.nilable(String)) }
attr_reader :google_apps_domain
sig { returns(T.nilable(String)) }
sig { returns(T.nilable(T::Boolean)) }
attr_reader :google_apps_login_enabled
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_discounts
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_api/rest/resources/2024_04/shop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
@finances = T.let(nil, T.nilable(T::Boolean))
@force_ssl = T.let(nil, T.nilable(T::Boolean))
@google_apps_domain = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(T::Boolean))
@has_discounts = T.let(nil, T.nilable(T::Boolean))
@has_gift_cards = T.let(nil, T.nilable(T::Boolean))
@has_storefront = T.let(nil, T.nilable(T::Boolean))
Expand Down Expand Up @@ -121,7 +121,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
attr_reader :force_ssl
sig { returns(T.nilable(String)) }
attr_reader :google_apps_domain
sig { returns(T.nilable(String)) }
sig { returns(T.nilable(T::Boolean)) }
attr_reader :google_apps_login_enabled
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_discounts
Expand Down
4 changes: 2 additions & 2 deletions lib/shopify_api/rest/resources/2024_07/shop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
@finances = T.let(nil, T.nilable(T::Boolean))
@force_ssl = T.let(nil, T.nilable(T::Boolean))
@google_apps_domain = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(String))
@google_apps_login_enabled = T.let(nil, T.nilable(T::Boolean))
@has_discounts = T.let(nil, T.nilable(T::Boolean))
@has_gift_cards = T.let(nil, T.nilable(T::Boolean))
@has_storefront = T.let(nil, T.nilable(T::Boolean))
Expand Down Expand Up @@ -121,7 +121,7 @@ def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil)
attr_reader :force_ssl
sig { returns(T.nilable(String)) }
attr_reader :google_apps_domain
sig { returns(T.nilable(String)) }
sig { returns(T.nilable(T::Boolean)) }
attr_reader :google_apps_login_enabled
sig { returns(T.nilable(T::Boolean)) }
attr_reader :has_discounts
Expand Down

0 comments on commit bd811ca

Please sign in to comment.