Sha256: a4273e5bbe35222bb54bba78b0314a7bd75142ef0dd4eb7bf7371bda589632c4

Contents?: true

Size: 520 Bytes

Versions: 54

Compression:

Stored size: 520 Bytes

Contents

require_relative 'brick'

module GoodData
  module Bricks
    # Simple brick used for testing and debug purposes
    class HelloWorldBrick < GoodData::Bricks::Brick
      def version
        '0.0.1'
      end

      # HelloWorld brick entry-point
      #
      # @param [Hash] params Parameters
      # @option [String] 'message' text to be returned in result, if nill - nothing is returned
      # :reek:UtilityFunction
      def call(params)
        GoodData::LCM2.perform('hello', params)
      end
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
gooddata-2.1.0-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.0 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.0.1-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.0.1 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.0.0-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.0.0 lib/gooddata/bricks/hello_world_brick.rb
gooddata-1.3.6-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-1.3.6 lib/gooddata/bricks/hello_world_brick.rb
gooddata-1.3.5-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-1.3.5 lib/gooddata/bricks/hello_world_brick.rb
gooddata-1.3.4-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-1.3.4 lib/gooddata/bricks/hello_world_brick.rb
gooddata-1.3.3-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-1.3.3 lib/gooddata/bricks/hello_world_brick.rb