An authentication server
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

21 righe
319 B

  1. require "json"
  2. enum Country
  3. FR,
  4. NL,
  5. DE,
  6. IT,
  7. EI,
  8. GB,
  9. end
  10. class Address
  11. JSON.mapping(
  12. name: String,
  13. address1: String,
  14. address2: {type: String, nilable: true},
  15. postcode: String,
  16. city: String,
  17. country: Country,
  18. is_default: Bool
  19. )
  20. end