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.



781
782
783
# File 'lib/mini_fb.rb', line 781

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.



779
780
781
# File 'lib/mini_fb.rb', line 779

def value
  @value
end