Module: Google::Shopping::Merchant::Accounts::V1beta::LfpProvidersService::Paths
- Extended by:
- Paths
- Included in:
- Client, Paths, Rest::Client
- Defined in:
- lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/paths.rb
Overview
Path helper methods for the LfpProvidersService API.
Instance Method Summary collapse
-
#lfp_provider_path(account:, omnichannel_setting:, lfp_provider:) ⇒ ::String
Create a fully-qualified LfpProvider resource string.
-
#omnichannel_setting_path(account:, omnichannel_setting:) ⇒ ::String
Create a fully-qualified OmnichannelSetting resource string.
Instance Method Details
#lfp_provider_path(account:, omnichannel_setting:, lfp_provider:) ⇒ ::String
Create a fully-qualified LfpProvider resource string.
The resource will be in the following format:
accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}
40 41 42 43 44 45 |
# File 'lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/paths.rb', line 40 def lfp_provider_path account:, omnichannel_setting:, lfp_provider: raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/" raise ::ArgumentError, "omnichannel_setting cannot contain /" if omnichannel_setting.to_s.include? "/" "accounts/#{account}/omnichannelSettings/#{omnichannel_setting}/lfpProviders/#{lfp_provider}" end |
#omnichannel_setting_path(account:, omnichannel_setting:) ⇒ ::String
Create a fully-qualified OmnichannelSetting resource string.
The resource will be in the following format:
accounts/{account}/omnichannelSettings/{omnichannel_setting}
58 59 60 61 62 |
# File 'lib/google/shopping/merchant/accounts/v1beta/lfp_providers_service/paths.rb', line 58 def omnichannel_setting_path account:, omnichannel_setting: raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/" "accounts/#{account}/omnichannelSettings/#{omnichannel_setting}" end |