Module: Psapi

Extended by:
PeercastStation
Defined in:
lib/psapi.rb,
lib/psapi/log.rb,
lib/psapi/plugin.rb,
lib/psapi/status.rb,
lib/psapi/channel.rb,
lib/psapi/session.rb,
lib/psapi/version.rb,
lib/psapi/listener.rb,
lib/psapi/settings.rb,
lib/psapi/template.rb,
lib/psapi/api_object.rb,
lib/psapi/yellow_page.rb,
lib/psapi/version_info.rb,
lib/psapi/source_stream.rb,
lib/psapi/content_reader.rb,
lib/psapi/peercast_station.rb,
lib/psapi/broadcast_history.rb,
lib/psapi/version_description.rb,
lib/psapi/notification_message.rb

Defined Under Namespace

Modules: Internal, PeercastStation Classes: API_Object, BroadcastHistory, Channel, ContentReader, Listener, Log, NotificationMesssage, Plugin, Session, Settings, SourceStream, Status, VersionDescription, VersionInfo, YellowPage

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Methods included from PeercastStation

initialize, method_missing

Class Method Details

.check_bandwidthObject



8
9
10
# File 'lib/psapi.rb', line 8

def check_bandwidth
  checkBandwidth
end

.check_portsObject



12
13
14
# File 'lib/psapi.rb', line 12

def check_ports
  checkPorts
end

.check_updateObject



16
17
# File 'lib/psapi.rb', line 16

def check_update
end

.new_versionsObject



19
20
# File 'lib/psapi.rb', line 19

def new_versions
end

.settingsObject



22
23
24
# File 'lib/psapi.rb', line 22

def settings
  Settings.new(getSettings)
end

.settings=(new_settings) ⇒ Object



26
27
# File 'lib/psapi.rb', line 26

def settings=(new_settings)
end

.statusObject



29
30
31
# File 'lib/psapi.rb', line 29

def status
  Status.new(getStatus)
end

.version_infoObject



33
34
35
# File 'lib/psapi.rb', line 33

def version_info
  VersionInfo.new(getVersionInfo)
end