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.30 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.29 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.28.4 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.28.3 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.28.2 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.28.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.28 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.27.6 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.27.5 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.27.4 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.27.3 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.27.2 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.27.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.27 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.26 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.25.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.25 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.24.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.24 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.23.2 app/decorators/tramway/event/person_decorator.rb