Sha256: e0bd42b74e8fe0399e05162396ec1e065047d423796c9e20915c2c5c745106a0

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

module TresDelta
  class Customer
    attr_reader :name

    def initialize(params = {})
      @vault_key = params[:vault_key] || nil
      @name      = params[:name] || nil
    end

    def vault_key
      @vault_key ||= SecureRandom.hex(12)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tres_delta-0.0.1 lib/tres_delta/customer.rb