Method: Diffbot.configure

Defined in:
lib/diffbot.rb

.configure {|_self| ... } ⇒ Object

Public: Set global options. This is a nice API to group calls to the Diffbot module.

Yields the Diffbot module so you can set options on it.

Returns self.

Yields:

  • (_self)

Yield Parameters:

  • _self (Diffbot)

    the object that the method was called on



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

def self.configure
  yield self
  self
end