Module: Google::Shopping::Merchant::Accounts::V1beta::TermsOfServiceService::Paths

Extended by:
Paths
Included in:
Client, Paths, Rest::Client
Defined in:
lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/paths.rb

Overview

Path helper methods for the TermsOfServiceService API.

Instance Method Summary collapse

Instance Method Details

#account_path(account:) ⇒ ::String

Create a fully-qualified Account resource string.

The resource will be in the following format:

accounts/{account}

Parameters:

  • account (String)

Returns:

  • (::String)


38
39
40
# File 'lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/paths.rb', line 38

def  account:
  "accounts/#{}"
end

#terms_of_service_path(version:) ⇒ ::String

Create a fully-qualified TermsOfService resource string.

The resource will be in the following format:

termsOfService/{version}

Parameters:

  • version (String)

Returns:

  • (::String)


52
53
54
# File 'lib/google/shopping/merchant/accounts/v1beta/terms_of_service_service/paths.rb', line 52

def terms_of_service_path version:
  "termsOfService/#{version}"
end