def automate(service, args = {})
      args.keys.each do |key|
        if ENCRYPTABLE_ARGS[key.to_s]
          args[key] = encrypt(args[key])
        end
      end
      request(service, :multipart, args)
    end
def automate(service, args = {})
      args.keys.each do |key|
        if ENCRYPTABLE_ARGS[key.to_s]
          args[key] = encrypt(args[key])
        end
      end
      request(service, :multipart, args)
    end
Create a Infosimples::Data API client.

 @param [String] token    Your access token.
 @param [Hash]   options  Options hash.
 @option options [Integer] :timeout (120)   Seconds before giving up of an
                                            automation being completed.
 @option options [Integer] :max_age (86400) Duration in seconds for a
                                            cached automation to be
                                            allowed.

 @return [Infosimples::Data::Client] A Client instance.
 Automate a service.

 @param [String] service   Service you want to automate.
 @param [Hash]   args      Arguments to be used in the service automation.

 @return [Hash] Response according to https://data.infosimples.com/docs.