Class Request::Base::Event
In: lib/violet/request.rb
Parent: Object
Event Action TtsMessage SetEarsPosition EventCollection Enumerable Query GET_EARS_POSITION Base Request dot/f_8.png

superclass of message send to Violet.

Methods

+   new   to_url  

Public Class methods

constructor has to be overrided

[Source]

    # File lib/violet/request.rb, line 26
26:       def initialize
27:         raise NotImplementedError
28:       end

Public Instance methods

it‘s possible to send multiples events on a single request.

[Source]

    # File lib/violet/request.rb, line 31
31:       def + other
32:         EventCollection.new self, other
33:       end

to_url has to be overrided

[Source]

    # File lib/violet/request.rb, line 36
36:       def to_url
37:         raise NotImplementedError
38:       end

[Validate]