Module: WebAuthn::JSONSerializer

Included in:
PublicKeyCredential::Entity, PublicKeyCredential::Options
Defined in:
lib/webauthn/json_serializer.rb

Instance Method Summary collapse

Instance Method Details

#as_jsonObject

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