Class: MiniFB::FaceBookSecret
- Inherits:
-
Object
- Object
- MiniFB::FaceBookSecret
- Defined in:
- lib/mini_fb.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Simple container that stores a secret value.
Instance Method Summary collapse
-
#initialize(value) ⇒ FaceBookSecret
constructor
A new instance of FaceBookSecret.
Constructor Details
#initialize(value) ⇒ FaceBookSecret
Returns a new instance of FaceBookSecret.
258 259 260 |
# File 'lib/mini_fb.rb', line 258 def initialize( value ) @value = Proc.new { value } end |
Instance Attribute Details
#value ⇒ Object (readonly)
Simple container that stores a secret value. Proc cannot be dumped or introspected by normal tools.
256 257 258 |
# File 'lib/mini_fb.rb', line 256 def value @value end |