Sha256: 8b9f10358cc77ddd0117c20ca847651d6d3eee56577d882d11edcb847330497f

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 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

3 entries across 3 versions & 1 rubygems

Version Path
tramway-profiles-1.3.2.2 app/forms/tramway/profiles/social_network_form.rb
tramway-profiles-1.3.2.1 app/forms/tramway/profiles/social_network_form.rb
tramway-profiles-1.3.2 app/forms/tramway/profiles/social_network_form.rb