Sha256: 2dec105d96777a317c8f9d67e73a7f30591ede5190d82c4ee0e282665a4c874e
Contents?: true
Size: 881 Bytes
Versions: 4
Compression:
Stored size: 881 Bytes
Contents
# encoding: UTF-8 # # Copyright (c) 2010-2015 GoodData Corporation. All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. require_relative '../exceptions/command_failed' require_relative '../models/domain' module GoodData module Command # Low level access to GoodData API class Domain attr_reader :name class << self def add_user(domain, login, password, opts = { :client => GoodData.connection }) data = { :domain => domain, :login => login, :password => password } GoodData::Domain.add_user(data.merge(opts)) end def list_users(domain, opts = { :client => GoodData.connection }) GoodData::Domain.users(domain, opts) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems