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-0.1.4 app/decorators/recruiter/article_decorator.rb
recruiter-0.1.3 app/decorators/recruiter/article_decorator.rb
recruiter-0.1.2 app/decorators/recruiter/article_decorator.rb
recruiter-0.1.1 app/decorators/recruiter/article_decorator.rb
recruiter-0.1.0 app/decorators/recruiter/article_decorator.rb