Class: FacebookDialog::Validators::Display
- Inherits:
-
Object
- Object
- FacebookDialog::Validators::Display
- Defined in:
- lib/facebook_dialog/validators/display.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Display
constructor
A new instance of Display.
- #validate ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Display
Returns a new instance of Display.
4 5 6 7 |
# File 'lib/facebook_dialog/validators/display.rb', line 4 def initialize( = {}) @options = @value = [:display] end |
Instance Method Details
#validate ⇒ Object
9 10 11 12 |
# File 'lib/facebook_dialog/validators/display.rb', line 9 def validate validate_against_whitelist validate_access_key end |