Sha256: 359075497a43945e1b36469996f7248da1cd8c615e6d0f8bfebf56e7492525b8

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

# frozen_string_literal: true

class 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.3 app/forms/tramway/profiles/social_network_form.rb