Class: MiniFB::FaceBookSecret

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject (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