def method_missing(name, *args, &_block)
      # Capture the version
      if name.to_s == 'version'
        @version = args[0]
        return _
      end
      # We have reached the end of the method chain, make the API call
      return build_request(name, args) if @methods.include?(name.to_s)

      # Add a segment to the URL
      _(name)
    end
def method_missing(name, *args, &_block)
      # Capture the version
      if name.to_s == 'version'
        @version = args[0]
        return _
      end
      # We have reached the end of the method chain, make the API call
      return build_request(name, args) if @methods.include?(name.to_s)

      # Add a segment to the URL
      _(name)
    end
Dynamically add segments to the url, then call a method.
 (e.g. client.name.name.get())

 * *Args*    :
   - The args are autmoatically passed in
 * *Returns* :
   - Client object or Response object

 rubocop:disable Style/MethodMissingSuper
 rubocop:disable Style/MissingRespondToMissing