Module: Biffbot

Defined in:
lib/biffbot.rb,
lib/biffbot/base.rb,
lib/biffbot/bulk.rb,
lib/biffbot/image.rb,
lib/biffbot/custom.rb,
lib/biffbot/analyze.rb,
lib/biffbot/article.rb,
lib/biffbot/product.rb,
lib/biffbot/version.rb

Defined Under Namespace

Classes: Analyze, Article, Base, Bulk, Custom, Image, Product

Constant Summary collapse

VERSION =
'1.2.4'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.tokenObject

Returns the value of attribute token.



20
21
22
# File 'lib/biffbot.rb', line 20

def token
  @token
end

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Biffbot)

    the object that the method was called on



11
12
13
14
# File 'lib/biffbot.rb', line 11

def self.configure
  yield self
  self
end

.reset!Object



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

def self.reset!
  @token = nil
end