Sha256: 3b7be947c90e38bd2655f692ac8cf7fcf1216518bd6224a27158129b6159e1a2

Contents?: true

Size: 498 Bytes

Versions: 57

Compression:

Stored size: 498 Bytes

Contents

class Eco::API::UseCases::OozeSamples::OozeUpdateCase < Eco::API::UseCases::OozeSamples::OozeRunBaseCase
  name "single-ooze-case"
  type :other

  private

  def to_field(value)
    fld   = nil
    fld ||= value if value.is_a?(Ecoportal::API::V2::Page::Component)
    fld ||= target.components.get_by_id(value)
    fld ||= target.components.select {|fld| same_name?(fld.label, value)}
    #fld ||= value.reference if value.is_a?(Ecoportal::API::V2::Page::Force::Binding)
  end

end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
eco-helpers-2.4.9 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.4.8 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.4.7 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.4.6 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.4.5 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.4.4 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.4.3 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.4.2 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.3.3 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.3.2 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.2.5 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.2.4 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.2.3 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.2.2 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.2.1 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.1.12 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.1.11 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.1.10 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.1.9 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.1.8 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb