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.10-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.10 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.9-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.9 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.8-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.8 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.7-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.7 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.6-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.6 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.5-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.5 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.4-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.4 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.3-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.3 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.2-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.2 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.1-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.1 lib/gooddata/bricks/hello_world_brick.rb