Sha256: a0cbc0d5f74a1bac0067ec4660fdf7dee4f3e8333d4d1171c4a80f7bf4789a39
Contents?: true
Size: 761 Bytes
Versions: 4
Compression:
Stored size: 761 Bytes
Contents
# TalonOne::CodeGeneratorSettings ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **valid_characters** | **Array<String>** | List of characters used to generate the random parts of a code. | **coupon_pattern** | **String** | The pattern used to generate coupon codes. The character `#` is a placeholder and is replaced by a random character from the `validCharacters` set. | ## Code Sample ```ruby require 'TalonOne' instance = TalonOne::CodeGeneratorSettings.new(valid_characters: [A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9], coupon_pattern: SUMMER-####-####) ```
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
talon_one-5.0.0 | docs/CodeGeneratorSettings.md |
talon_one-3.0.2 | docs/CodeGeneratorSettings.md |
talon_one-3.0.1 | docs/CodeGeneratorSettings.md |
talon_one-3.0.0 | docs/CodeGeneratorSettings.md |