ciris.Secret
See theSecret companion class
object Secret
Attributes
- Companion
- class
- Source
- Secret.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Secret.type
Members list
Grouped members
Creating Instances
Returns a new Secret for the specified configuration value.
Returns a new Secret for the specified configuration value.
The Secret#valueHash will be calculated using the shown value.
Attributes
- Example
-
scala> Secret(12.5) res0: Secret[Double] = Secret(90db4c0) - Source
- Secret.scala
Returns the configuration value for the specified Secret.
Attributes
- Example
-
scala> val secret = Secret(12.5) secret: Secret[Double] = Secret(90db4c0) scala> secret match { case Secret(value) => value } res0: Double = 12.5 - Source
- Secret.scala
In this article