Class: Stormpath::Rails::FormSerializer
- Inherits:
-
Object
- Object
- Stormpath::Rails::FormSerializer
show all
- Defined in:
- app/serializers/stormpath/rails/form_serializer.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.to_h ⇒ Object
4
5
6
|
# File 'app/serializers/stormpath/rails/form_serializer.rb', line 4
def self.to_h
new.to_h
end
|
Instance Method Details
#to_h ⇒ Object
8
9
10
11
12
13
14
15
|
# File 'app/serializers/stormpath/rails/form_serializer.rb', line 8
def to_h
{
form: {
fields: form_fields
},
accountStores: []
}
end
|