class RedHatSupportLib::Brokers::Group

Public Class Methods

new(connection) click to toggle source
Calls superclass method RedHatSupportLib::Brokers::Broker.new
# File lib/brokers/group.rb, line 4
def initialize(connection)
  super
end

Public Instance Methods

list() click to toggle source
# File lib/brokers/group.rb, line 8
def list
  result = @connection.get("/rs/groups", {:accept => :json})
  result['group']
end