class GoodData::Bricks::Brick
Brick
base class
Public Instance Methods
Source
# File lib/gooddata/bricks/brick.rb, line 29 def call(params = {}) @params = params '' end
Bricks
implementation which can be ‘called’
Source
# File lib/gooddata/bricks/brick.rb, line 13 def log(message) logger = @params[:gdc_logger] logger.info(message) unless logger.nil? end
Source
# File lib/gooddata/bricks/brick.rb, line 19 def name self.class end
Name of the brick
Source
# File lib/gooddata/bricks/brick.rb, line 24 def version raise NotImplementedError, 'Method version should be reimplemented' end
Version of brick, this should be implemented in subclasses