Class: RedHatSupportLib::Brokers::Group
- Defined in:
- lib/brokers/group.rb
Instance Attribute Summary
Attributes inherited from Broker
Instance Method Summary collapse
-
#initialize(connection) ⇒ Group
constructor
A new instance of Group.
- #list ⇒ Object
Methods inherited from Broker
Constructor Details
#initialize(connection) ⇒ Group
Returns a new instance of Group.
4 5 6 |
# File 'lib/brokers/group.rb', line 4 def initialize(connection) super end |
Instance Method Details
#list ⇒ Object
8 9 10 11 |
# File 'lib/brokers/group.rb', line 8 def list result = @connection.get("/rs/groups", {:accept => :json}) result['group'] end |