Class CountryFetcher

    • Constructor Detail

      • CountryFetcher

        public CountryFetcher​(String pathIsoCountry)
        Construct a new CountryFetcher.
        Parameters:
        pathIsoCountry - The ISO country code
    • Method Detail

      • fetch

        public Country fetch​(TwilioRestClient client)
        Make the request to the Twilio API to perform the fetch.
        Specified by:
        fetch in class Fetcher<Country>
        Parameters:
        client - TwilioRestClient with which to make the request
        Returns:
        Fetched Country