module TextRazor
Constants
- VERSION
Attributes
configuration[W]
Public Class Methods
configuration()
click to toggle source
# File lib/textrazor.rb, line 40 def self.configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/textrazor.rb, line 48 def self.configure yield(configuration) end
entities(api_key, text, options = {})
click to toggle source
# File lib/textrazor.rb, line 24 def self.entities(api_key, text, options = {}) Client.entities(api_key, text, options) end
phrases(api_key, text, options = {})
click to toggle source
# File lib/textrazor.rb, line 32 def self.phrases(api_key, text, options = {}) Client.phrases(api_key, text, options) end
reset()
click to toggle source
# File lib/textrazor.rb, line 44 def self.reset @configuration = Configuration.new end
topics(api_key, text, options = {})
click to toggle source
# File lib/textrazor.rb, line 20 def self.topics(api_key, text, options = {}) Client.topics(api_key, text, options) end
words(api_key, text, options = {})
click to toggle source
# File lib/textrazor.rb, line 28 def self.words(api_key, text, options = {}) Client.words(api_key, text, options) end