Sha256: 4deb138f29127028a5df84a487481b74be9248a5574aef4b6ced0453e99f0282

Contents?: true

Size: 832 Bytes

Versions: 9

Compression:

Stored size: 832 Bytes

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

require_relative 'base_action'

module GoodData
  module LCM2
    class EnsureSegments < BaseAction
      DESCRIPTION = 'Ensure Segments Exist (LCM API)'

      PARAMS = define_params(self) do
        description 'Client Used for Connecting to GD'
        param :gd_client, instance_of(Type::GdClientType), required: true

        description 'Segments to manage'
        param :segments, array_of(instance_of(Type::SegmentType)), required: true
      end

      class << self
        def call(_params)
          results = []

          # Return results
          results
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gooddata-1.0.2-java lib/gooddata/lcm/actions/ensure_segments.rb
gooddata-1.0.2 lib/gooddata/lcm/actions/ensure_segments.rb
gooddata-1.0.1 lib/gooddata/lcm/actions/ensure_segments.rb
gooddata-1.0.1-java lib/gooddata/lcm/actions/ensure_segments.rb
gooddata-1.0.0-java lib/gooddata/lcm/actions/ensure_segments.rb
gooddata-1.0.0 lib/gooddata/lcm/actions/ensure_segments.rb
gooddata-0.6.54 lib/gooddata/lcm/actions/ensure_segments.rb
gooddata-0.6.53 lib/gooddata/lcm/actions/ensure_segments.rb
gooddata-0.6.52 lib/gooddata/lcm/actions/ensure_segments.rb