Sha256: cbeae379edd5eced2449d5c368403b39dd4f15350135670b09fb5682d66f0927

Contents?: true

Size: 256 Bytes

Versions: 7

Compression:

Stored size: 256 Bytes

Contents

module RestPack::Service
  class Configuration
    attr_accessor :db_table_prefix

    def initialize
      @db_table_prefix = 'restpack_'
    end

    def prefix_db_table(db_table_name)
      "#{@db_table_prefix}#{db_table_name}".to_sym
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
restpack_service-0.0.33 lib/restpack_service/configuration.rb
restpack_service-0.0.32 lib/restpack_service/configuration.rb
restpack_service-0.0.31 lib/restpack_service/configuration.rb
restpack_service-0.0.30 lib/restpack_service/configuration.rb
restpack_service-0.0.29 lib/restpack_service/configuration.rb
restpack_service-0.0.28 lib/restpack_service/configuration.rb
restpack_service-0.0.27 lib/restpack_service/configuration.rb