Sha256: ccf3ff1515699d24b07b5157dec8e6e1b8373c4bd918218f093d9a82572e2dfc

Contents?: true

Size: 358 Bytes

Versions: 9

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

require 'happymapper'
require_relative 'node'
require_relative 'person'
require_relative './helper/normalized_string'

module ForwardCalendar
  class Participant < Node
    include HappyMapper
    tag 'participant'

    has_one :person, Person, tag: 'person'

    element :role, Helper::NormalizedString, tag: 'role'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
forward-calendar-0.9.0 lib/forward_calendar/participant.rb
forward-calendar-0.8.2 lib/forward_calendar/participant.rb
forward-calendar-0.8.1 lib/forward_calendar/participant.rb
forward-calendar-0.8.0 lib/forward_calendar/participant.rb
forward-calendar-0.7.1 lib/forward_calendar/participant.rb
forward-calendar-0.7.0 lib/forward_calendar/participant.rb
forward-calendar-0.6.1 lib/forward_calendar/participant.rb
forward-calendar-0.6.0 lib/forward_calendar/participant.rb
forward-calendar-0.5.0 lib/forward_calendar/participant.rb