Sha256: 9eb3c642a2a80da2939ebabedce647fee75c116d669f88cd43a7eeb2019a219e

Contents?: true

Size: 248 Bytes

Versions: 25

Compression:

Stored size: 248 Bytes

Contents

module Recruiter
  class ArticleDecorator < Draper::Decorator
    delegate_all

    include Recruiter::DecoratorHelper
    include Recruiter::PublicableDecoratorHelper

    def published?
      decorate_boolean(object.published?)
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
recruiter-1.1.18 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.17 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.16 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.15 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.14 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.12 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.11 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.10 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.9 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.8 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.7 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.6 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.5 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.4 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.3 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.2 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.1 app/decorators/recruiter/article_decorator.rb
recruiter-1.1.0 app/decorators/recruiter/article_decorator.rb
recruiter-1.0.0 app/decorators/recruiter/article_decorator.rb
recruiter-0.1.5 app/decorators/recruiter/article_decorator.rb