Class: MiniFB::FaceBookSecret

Inherits:
Object
  • Object
show all
Defined in:
lib/photo_mini_fb.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ FaceBookSecret

Returns a new instance of FaceBookSecret.



319
320
321
# File 'lib/photo_mini_fb.rb', line 319

def initialize( value )
    @value = Proc.new { value }
end

Instance Attribute Details

#valueObject (readonly)

Simple container that stores a secret value. Proc cannot be dumped or introspected by normal tools.



317
318
319
# File 'lib/photo_mini_fb.rb', line 317

def value
  @value
end