Class: Buzz::Api::Channel

Inherits:
ApiBase
  • Object
show all
Defined in:
lib/buzz/channel_api.rb

Instance Method Summary collapse

Methods inherited from ApiBase

#get_key, #make_call

Constructor Details

#initialize(server, username, password) ⇒ Channel



10
11
12
# File 'lib/buzz/channel_api.rb', line 10

def initialize(server, username, password)
  super(server, username, password)
end

Instance Method Details

#refresh_channel(channel_label) ⇒ Object



14
15
16
17
# File 'lib/buzz/channel_api.rb', line 14

def refresh_channel(channel_label)
  out = make_call("channel.software.regenerateYumCache", channel_label)
  out
end