Module: Muddyit

Defined in:
lib/muddyit/oauth.rb,
lib/muddyit/base.rb,
lib/muddyit/errors.rb

Overview

Defined Under Namespace

Classes: Base, Collections, Error, Errors, Generic, OAuth

Constant Summary collapse

@@REST_ENDPOINT =
'http://muddy.it'

Class Method Summary collapse

Class Method Details

.extract(doc, options = {}) ⇒ Object

Shortcut class method for extract



12
13
14
15
# File 'lib/muddyit/base.rb', line 12

def self.extract(doc, options={})
  @muddyit = Muddyit.new()
  @muddyit.extract(doc, options)
end

.new(*params) ⇒ Object



7
8
9
# File 'lib/muddyit/base.rb', line 7

def self.new(*params)
  Muddyit::Base.new(*params)
end