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

def email_preferences_path account:, email:

Returns:
  • (::String) -

Parameters:
  • email (String) --
  • account (String) --
def email_preferences_path account:, email:
  raise ::ArgumentError, "account cannot contain /" if account.to_s.include? "/"
  "accounts/#{account}/users/#{email}/emailPreferences"
end