Class: AngieCoreApi::TV
- Inherits:
-
Object
- Object
- AngieCoreApi::TV
- Defined in:
- lib/angie-core-api/tv.rb
Instance Method Summary collapse
- #command(command) ⇒ Object
-
#initialize(provider) ⇒ TV
constructor
A new instance of TV.
Constructor Details
#initialize(provider) ⇒ TV
Returns a new instance of TV.
5 6 7 |
# File 'lib/angie-core-api/tv.rb', line 5 def initialize(provider) @provider = provider end |
Instance Method Details
#command(command) ⇒ Object
9 10 11 |
# File 'lib/angie-core-api/tv.rb', line 9 def command(command) Client.data(:post, "/appliances/tv", { provider: @provider, command: command}) end |