Class: ActiveRecord::Turntable::Configuration::DSL::ClusterDSL::ShardSetting

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_record/turntable/configuration/dsl.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



62
63
64
# File 'lib/active_record/turntable/configuration/dsl.rb', line 62

def name
  @name
end

#rangeObject

Returns the value of attribute range

Returns:

  • (Object)

    the current value of range



62
63
64
# File 'lib/active_record/turntable/configuration/dsl.rb', line 62

def range
  @range
end

#slavesObject

Returns the value of attribute slaves

Returns:

  • (Object)

    the current value of slaves



62
63
64
# File 'lib/active_record/turntable/configuration/dsl.rb', line 62

def slaves
  @slaves
end