Sha256: 5cda09eafb31ffa2e4fba65f16cc7f5c21d08a20bd420ef0e636f942cccf682b

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

class Admin::Tramway::Profiles::SocialNetworkForm < ::Tramway::Core::ApplicationForm
  properties :title, :network_name, :record_id, :record_type, :uid

  def initialize(object)
    super(object).tap do
      form_properties title: :string,
                      network_name: :default,
                      uid: :string,
                      record_type: :default,
                      record_id: :integer
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tramway-profiles-1.3.2.4 app/forms/admin/tramway/profiles/social_network_form.rb