Module: WebAuthn::JSONSerializer
- Included in:
- PublicKeyCredential::Entity, PublicKeyCredential::Options
- Defined in:
- lib/webauthn/json_serializer.rb
Instance Method Summary collapse
-
#as_json ⇒ Object
Argument wildcard for Ruby on Rails controller automatic object JSON serialization.
Instance Method Details
#as_json ⇒ Object
Argument wildcard for Ruby on Rails controller automatic object JSON serialization
6 7 8 |
# File 'lib/webauthn/json_serializer.rb', line 6 def as_json(*) deep_camelize_keys(to_hash) end |