Sha256: fe1cc2080944fea6f12016ef5975ecef2946759a6d093342518a4525f7a36bd2
Contents?: true
Size: 318 Bytes
Versions: 18
Compression:
Stored size: 318 Bytes
Contents
module EgovUtils class FullAddress < AzaharaSchema::DerivedAttribute def initialize(model, name, **options) super(model, name, :concat, 'city', 'street', options) end def build_json_options!(options) options[:methods] ||= [] options[:methods] << name options end end end
Version data entries
18 entries across 18 versions & 1 rubygems