Class: OpenGraphPlus::Verifier
- Inherits:
-
Object
- Object
- OpenGraphPlus::Verifier
- Defined in:
- lib/opengraphplus/verifier.rb
Defined Under Namespace
Classes: FetchError
Constant Summary collapse
- MAX_REDIRECTS =
5
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url) ⇒ Verifier
constructor
A new instance of Verifier.
- #verify ⇒ Object
Constructor Details
#initialize(url) ⇒ Verifier
Returns a new instance of Verifier.
14 15 16 |
# File 'lib/opengraphplus/verifier.rb', line 14 def initialize(url) @url = url end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
12 13 14 |
# File 'lib/opengraphplus/verifier.rb', line 12 def url @url end |