Sha256: b8c39e4d6fcfd623a58f243fa82f32a23420f6bb9b82e0957d3bb484884f003f

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

class Tramway::Profiles::SocialNetwork < ::Tramway::ApplicationRecord
  belongs_to :record, polymorphic: true, required: false

  enumerize :network_name, in: %i[vk facebook twitter instagram telegram patreon]
  enumerize :record_type, in: Tramway::Profiles.records
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tramway-profiles-1.4.1.2 app/models/tramway/profiles/social_network.rb