alsemyonov/xommelier

View on GitHub
lib/xommelier/atom/person.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

################################################
# © Alexander Semyonov, 2011—2013, MIT License #
# Author: Alexander Semyonov <al@semyonov.us>  #
################################################

require 'xommelier/atom'

module Xommelier
  module Atom
    class Person < Xml::Element
      element :name

      may do
        element :email
        element :uri, type: Uri
      end
    end
  end
end