Class: DiffbotSimple::V2::Analyze

Inherits:
Object
  • Object
show all
Includes:
ApiHelper
Defined in:
lib/diffbot_simple/v2/analyze.rb

Overview

Instance Method Summary collapse

Methods included from ApiHelper

#initialize, #request

Methods included from Symbolize

symbolize, y_combinator

Instance Method Details

#post_initializeObject



5
6
7
# File 'lib/diffbot_simple/v2/analyze.rb', line 5

def post_initialize
  @api = :analyze
end

#to_api_urlObject



8
9
10
11
# File 'lib/diffbot_simple/v2/analyze.rb', line 8

def to_api_url
  default = super
  "#{default}?mode=auto"
end