Sha256: d18a92aaad2f5571daa83a10a1c5b4695368101ab4fb2e87455926ffa7d9457b

Contents?: true

Size: 519 Bytes

Versions: 4

Compression:

Stored size: 519 Bytes

Contents

require 'garner'

class ApplicationDecorator < Draper::Decorator
  include Garner::Cache::Context

  delegate_all

  def pretty_errors
    "Some fields had errors: #{object.errors.full_messages.join(', ')}."
  end
end

require_relative 'resource_decorator'
require_relative 'criterion_decorator'
require_relative 'account_decorator'
require_relative 'app_decorator'
require_relative 'database_decorator'
require_relative 'operation_decorator'
require_relative 'organization_decorator'
require_relative 'user_decorator'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aptible-rails-0.4.12 lib/aptible/rails/decorators/application_decorator.rb
aptible-rails-0.4.11 lib/aptible/rails/decorators/application_decorator.rb
aptible-rails-0.4.10 lib/aptible/rails/decorators/application_decorator.rb
aptible-rails-0.4.9 lib/aptible/rails/decorators/application_decorator.rb