Sha256: 631e3db0010bb4ea7ecde47fd1cd79de1e94fe0e3544e157f6a9cfab6daf84d6

Contents?: true

Size: 197 Bytes

Versions: 12

Compression:

Stored size: 197 Bytes

Contents

class AppDecorator < ResourceDecorator
  def service_summary
    garner.bind(h.controller.session_token).bind(object) do
      object.services.map(&:process_type).sort.join(', ')
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
aptible-rails-0.7.3 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.7.2 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.7.1 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.7.0 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.6.13 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.6.12 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.6.11 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.6.10 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.6.9 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.6.8 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.6.7 lib/aptible/rails/decorators/app_decorator.rb
aptible-rails-0.6.6 lib/aptible/rails/decorators/app_decorator.rb