Module: Logisticed

Extended by:
ActiveSupport::Autoload
Defined in:
lib/logisticed.rb,
lib/logisticed/sweeper.rb,
lib/logisticed/version.rb,
lib/logisticed/logistic.rb,
lib/logisticed/logisticer.rb

Defined Under Namespace

Modules: Logisticer Classes: Error, Logistic, Migration, Sweeper

Constant Summary collapse

VERSION =
"1.0.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.current_user_methodObject

Returns the value of attribute current_user_method.



10
11
12
# File 'lib/logisticed.rb', line 10

def current_user_method
  @current_user_method
end

.logisticed_operator_id_column_typeObject

Returns the value of attribute logisticed_operator_id_column_type.



10
11
12
# File 'lib/logisticed.rb', line 10

def logisticed_operator_id_column_type
  @logisticed_operator_id_column_type
end

.logisticed_source_id_column_typeObject

Returns the value of attribute logisticed_source_id_column_type.



10
11
12
# File 'lib/logisticed.rb', line 10

def logisticed_source_id_column_type
  @logisticed_source_id_column_type
end

.logisticed_tableObject

Returns the value of attribute logisticed_table.



10
11
12
# File 'lib/logisticed.rb', line 10

def logisticed_table
  @logisticed_table
end

Class Method Details

.config {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Logisticed)

    the object that the method was called on



11
12
13
# File 'lib/logisticed.rb', line 11

def config
  yield(self)
end

.logistic_classObject



15
16
17
# File 'lib/logisticed.rb', line 15

def logistic_class
  @logistic_class ||= Logistic
end

.storeObject



19
20
21
# File 'lib/logisticed.rb', line 19

def store
  Thread.current[:logisticed_store] ||= {}
end