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.0.55 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.54 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.53 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.52 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.51 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.50 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.49 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.48 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.47 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.46 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.45 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.44 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.43 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.42 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.41 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.40 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-2.0.39 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb