Module: OpenGraphy

Defined in:
lib/open_graphy.rb,
lib/open_graphy/uri.rb,
lib/open_graphy/url.rb,
lib/open_graphy/fetcher.rb,
lib/open_graphy/version.rb,
lib/open_graphy/meta_tag.rb,
lib/open_graphy/meta_tags.rb,
lib/open_graphy/configuration.rb,
lib/open_graphy/tag_namespace.rb,
lib/open_graphy/url_validator.rb

Defined Under Namespace

Modules: Uri Classes: Configuration, MetaTag, MetaTags, TagNamespace, Url, UrlValidator

Constant Summary collapse

VERSION =
"1.0.1"

Class Method Summary collapse

Class Method Details

.configurationObject



15
16
17
# File 'lib/open_graphy.rb', line 15

def self.configuration
  Configuration.instance
end

.configure {|configuration| ... } ⇒ Object

Yields:



19
20
21
# File 'lib/open_graphy.rb', line 19

def self.configure
  yield(configuration)
end

.fetch(uri) ⇒ Object



23
24
25
# File 'lib/open_graphy.rb', line 23

def self.fetch(uri)
  Url.fetch(uri)
end