Sha256: 6476f8192ea3a19c4ba0a8326f0e1062a8728eb15bedfce77c7a81631ec03b89

Contents?: true

Size: 790 Bytes

Versions: 1

Compression:

Stored size: 790 Bytes

Contents

object false

child(@industry_expertises, object_root: false, root: 'industries') do
  attributes :id, :title, :sort_order, :service_ids
  node :code do |rec|
    rec.industry_type.code
  end
end

child(@countries, object_root: false, root: 'countries') do
  attributes :name, :title, :country_code, :alpha2, :alpha3
end

child(AffiliateProgram::MaritalStatus.all, object_root: false, root: 'marital_statuses') do
  attributes :id, :title, :sort_order
end

child(AffiliateProgram::GenderType.all, object_root: false, root: 'genders') do
  attributes :id, :title, :sort_order
end

child(Month.all, object_root: false, root: 'monthes') do
  attributes :id, :title
end

child(ActiveSupport::TimeZone.all, object_root: false, root: 'time_zones') do
  node :id, &:name
  node :title, &:to_s
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/views/account/referrals/data.json.rabl