def create(name, sites, groups, internal_domain_prefix = nil)
      sites = Array(sites)
      groups = Array(groups)
      current_path = '/api/v1/collections'
      payload = { 'name' => name, 'site_ids' => sites, 'group_ids' => groups,
                  'internal_domain_prefix' => internal_domain_prefix }.to_json
      @conn.post(current_path, payload)
    end
def create(name, sites, groups, internal_domain_prefix = nil)
      sites = Array(sites)
      groups = Array(groups)
      current_path = '/api/v1/collections'
      payload = { 'name' => name, 'site_ids' => sites, 'group_ids' => groups,
                  'internal_domain_prefix' => internal_domain_prefix }.to_json
      @conn.post(current_path, payload)
    end
create a site collection
 @param [String] name site collection name
 @param [int|Array] sites nid or array of site nids. First nid is primary
 @param [int|Array] groups gid or array of group ids.
 @param [String] internal_domain_prefix optional the prefix for the internal domain
                                 defaults to name
 @return [Hash { "id" => Integer, "name" => String,
                 "time" => "2016-11-25T13:18:44+00:00",
                 "internal_domain" => String }]