Class: Biffbot::Custom
Instance Method Summary collapse
-
#initialize(url, api_name, options = {}, token = Biffbot.token) ⇒ Hash
constructor
a new instance of Biffbot::Custom.
Methods inherited from Base
#generate_url, #parse, #parse_options
Constructor Details
#initialize(url, api_name, options = {}, token = Biffbot.token) ⇒ Hash
a new instance of Biffbot::Custom
13 14 15 16 |
# File 'lib/biffbot/custom.rb', line 13 def initialize url, api_name, = {}, token = Biffbot.token [:api_name] = api_name parse(token, 'custom', url, ) end |