Sha256: e1c82ae08097e02774d6afdc62d2cd1aac4f6af2c7a1fa2667a413002d9fb313

Contents?: true

Size: 275 Bytes

Versions: 74

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

class Tramway::Event::PersonDecorator < ::Tramway::Core::ApplicationDecorator
  class << self
    def collections
      [:all]
    end
  end

  decorate_association :sections

  def name
    "#{object.first_name} #{object.last_name}"
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
tramway-event-1.9.23.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.23 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.22 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.21.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.21 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.20.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.20 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.19.8 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.19.7 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.19.6 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.19.5 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.19.4 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.19.3 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.19.2 app/decorators/tramway/event/person_decorator.rb