Sha256: 6618bc96378d2092ed73703e1e6b93fe548eb82e2b77801f2cb7a2a86265427c

Contents?: true

Size: 340 Bytes

Versions: 60

Compression:

Stored size: 340 Bytes

Contents

module EgovUtils
  class FullAddress < AzaharaSchema::DerivedAttribute

    def initialize(model, name, **options)
      super(model, name, :concat, 'postcode', 'city', 'street', 'number', options)
    end

    def build_json_options!(options)
      options[:methods] ||= []
      options[:methods] << name
      options
    end

  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
egov_utils-1.5.0.alpha16 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha15 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha14 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha13 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha12 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha11 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha10 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha9 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha8 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha7 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha6 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha5 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha4 app/attributes/egov_utils/full_address.rb
egov_utils-1.4.5 app/attributes/egov_utils/full_address.rb
egov_utils-1.4.4 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha3 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha2 app/attributes/egov_utils/full_address.rb
egov_utils-1.5.0.alpha1 app/attributes/egov_utils/full_address.rb
egov_utils-1.4.3 app/attributes/egov_utils/full_address.rb
egov_utils-1.4.2 app/attributes/egov_utils/full_address.rb