module Google::Shopping::Merchant::Accounts::V1beta::TermsOfServiceAgreementStateService::Paths

def account_path account:

Returns:
  • (::String) -

Parameters:
  • account (String) --
def account_path account:
  "accounts/#{account}"
end

def terms_of_service_agreement_state_path account:, identifier:

Returns:
  • (::String) -

Parameters:
  • identifier (String) --
  • account (String) --
def terms_of_service_agreement_state_path account:, identifier:
  raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/"
  "accounts/#{account}/termsOfServiceAgreementStates/#{identifier}"
end