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.3.1-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.3.1 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.3.0-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.3.0 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.2.0-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.2.0 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.19-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.19 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.17-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.17 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.15-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.15 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.14-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.14 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.13-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.13 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.12-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.12 lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.11-java lib/gooddata/bricks/hello_world_brick.rb
gooddata-2.1.11 lib/gooddata/bricks/hello_world_brick.rb