Class: JWT::JSON Private
- Inherits:
-
Object
- Object
- JWT::JSON
- Defined in:
- lib/jwt/json.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .generate(data) ⇒ Object private
- .parse(data) ⇒ Object private
Class Method Details
.generate(data) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9 10 11 |
# File 'lib/jwt/json.rb', line 9 def generate(data) ::JSON.generate(data) end |
.parse(data) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 |
# File 'lib/jwt/json.rb', line 13 def parse(data) ::JSON.parse(data) end |