Module: Google::Shopping::Merchant::Lfp::V1beta::LfpMerchantStateService::Paths
- Extended by:
- Paths
- Included in:
- Client, Paths, Rest::Client
- Defined in:
- lib/google/shopping/merchant/lfp/v1beta/lfp_merchant_state_service/paths.rb
Overview
Path helper methods for the LfpMerchantStateService API.
Instance Method Summary collapse
-
#lfp_merchant_state_path(account:, lfp_merchant_state:) ⇒ ::String
Create a fully-qualified LfpMerchantState resource string.
Instance Method Details
#lfp_merchant_state_path(account:, lfp_merchant_state:) ⇒ ::String
Create a fully-qualified LfpMerchantState resource string.
The resource will be in the following format:
accounts/{account}/lfpMerchantStates/{lfp_merchant_state}
39 40 41 42 43 |
# File 'lib/google/shopping/merchant/lfp/v1beta/lfp_merchant_state_service/paths.rb', line 39 def lfp_merchant_state_path account:, lfp_merchant_state: raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/" "accounts/#{account}/lfpMerchantStates/#{lfp_merchant_state}" end |