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