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.12.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.12.0.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.12 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.11.5.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.11.5 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.11.4.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.11.4 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.11.2.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.11.2 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.11.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.11.0.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.11 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.10.2 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.10.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.10.0.2 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.10.0.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.10 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.31.2 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.31.1 app/decorators/tramway/event/person_decorator.rb
tramway-event-1.9.31 app/decorators/tramway/event/person_decorator.rb