Sha256: d578f1460176f55123d11d4d0cacd63deb4fb106b06abde5b5c8e504a4bd2453
Contents?: true
Size: 449 Bytes
Versions: 25
Compression:
Stored size: 449 Bytes
Contents
module Recruiter class JobDecorator < Draper::Decorator delegate_all include Recruiter::PublicableDecoratorHelper def title object.title.titleize end def city object.city.name end def state object.city.state.name end def location "#{city}/#{short_state}" end def short_state object.city.state.short end def tag_names tags.map(&:name) end end end
Version data entries
25 entries across 25 versions & 1 rubygems