Module: ActiveRecord::Dbt::Configuration::DwhPlatform

Extended by:
RequiredMethods
Included in:
ActiveRecord::Dbt::Config
Defined in:
lib/active_record/dbt/configuration/dwh_platform.rb

Defined Under Namespace

Classes: DoesNotExistOnTheDwhPlatformError, DwhPlatformIsNullError

Instance Method Summary collapse

Methods included from RequiredMethods

define_required_methods

Instance Method Details

#dwh_platformObject



15
16
17
# File 'lib/active_record/dbt/configuration/dwh_platform.rb', line 15

def dwh_platform
  @dwh_platform || (raise DwhPlatformIsNullError, "'dwh_platform' is required in '#{source_config_path}'.")
end

#dwh_platform=(dwh_platform) ⇒ Object



11
12
13
# File 'lib/active_record/dbt/configuration/dwh_platform.rb', line 11

def dwh_platform=(dwh_platform)
  @dwh_platform = validate_dwh_platform(dwh_platform)
end