Class: Lapis::Yggdrasil::Messaging::Request Abstract
- Inherits:
-
Object
- Object
- Lapis::Yggdrasil::Messaging::Request
- Defined in:
- lib/lapis/yggdrasil/messaging/request.rb
Overview
This class is abstract.
Base class for all request messages.
Direct Known Subclasses
Instance Method Summary collapse
-
#endpoint ⇒ String
Path on the server that handles the request.
-
#to_json ⇒ String
Generates a JSON string that can be sent to an authentication server.
Instance Method Details
#endpoint ⇒ String
Path on the server that handles the request.
11 12 13 |
# File 'lib/lapis/yggdrasil/messaging/request.rb', line 11 def endpoint fail NotImplementedError, 'Sub-class must implement this method' end |
#to_json ⇒ String
Generates a JSON string that can be sent to an authentication server.
17 18 19 |
# File 'lib/lapis/yggdrasil/messaging/request.rb', line 17 def to_json fail NotImplementedError, 'Sub-class must implement this method' end |