Sha256: 90bc2a3abd5051ac0cb2d1a78876cd1e6244afaa31b29e48d4e0852d1a019baa

Contents?: true

Size: 496 Bytes

Versions: 55

Compression:

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

55 entries across 55 versions & 1 rubygems

Version Path
eco-helpers-3.0.21 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.20 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.19 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.18 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.17 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.16 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.15 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.14 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.13 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.12 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.11 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.10 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.9 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.8 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.7 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.6 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.5 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.4 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.3 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb
eco-helpers-3.0.2 lib/eco/api/usecases/ooze_samples/ooze_update_case.rb