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.
781 782 783 |
# File 'lib/mini_fb.rb', line 781 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.
779 780 781 |
# File 'lib/mini_fb.rb', line 779 def value @value end |