Sha256: 1e395b5dc406a15ce6bd0937897b4bae0dede38fae0830761d36c743b71bb6dc

Contents?: true

Size: 434 Bytes

Versions: 8

Compression:

Stored size: 434 Bytes

Contents

require "paperclip"
require "responders"
require 'hashids'
require "active_model_serializers"
require "rails_pallet/active_record_extension"
require "rails_pallet/engine"

module RailsPallet
  extend self

  attr_writer :hash_salt, :use_prefix

  def hash_salt
    return "default" unless @hash_salt
    @hash_salt
  end

  def use_prefix
    @use_prefix == true
  end

  def setup
    yield self
    require "rails_pallet"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_pallet-2.3.2 lib/rails_pallet.rb
rails_pallet-2.3.1 lib/rails_pallet.rb
rails_pallet-2.3.0 lib/rails_pallet.rb
rails_pallet-2.2.0 lib/rails_pallet.rb
rails_pallet-2.1.0 lib/rails_pallet.rb
rails_pallet-2.0.2 lib/rails_pallet.rb
rails_pallet-2.0.1 lib/rails_pallet.rb
rails_pallet-2.0.0 lib/rails_pallet.rb