Module: TenHsServer
- Defined in:
- lib/ten_hs_server.rb,
lib/ten_hs_server/room.rb,
lib/ten_hs_server/event.rb,
lib/ten_hs_server/device.rb,
lib/ten_hs_server/adapter.rb,
lib/ten_hs_server/version.rb
Defined Under Namespace
Classes: Adapter, Device, Error, Event, MultipleFoundError, NotFoundError, Room
Constant Summary
collapse
- VERSION =
"0.2.0"
Class Method Summary
collapse
Class Method Details
.device ⇒ Object
27
28
29
|
# File 'lib/ten_hs_server.rb', line 27
def self.device
return TenHsServer::Device
end
|
.event ⇒ Object
23
24
25
|
# File 'lib/ten_hs_server.rb', line 23
def self.event
return TenHsServer::Event
end
|
.host ⇒ Object
14
15
16
|
# File 'lib/ten_hs_server.rb', line 14
def self.host
@host
end
|
.new(host) ⇒ Object
9
10
11
12
|
# File 'lib/ten_hs_server.rb', line 9
def self.new host
@host = host
self
end
|
.room ⇒ Object
31
32
33
|
# File 'lib/ten_hs_server.rb', line 31
def self.room
return TenHsServer::Room
end
|