Class: Biffbot::Custom
- Inherits:
-
Base
- Object
- Hash
- Base
- Biffbot::Custom
show all
- Defined in:
- lib/biffbot/custom.rb
Instance Method Summary
collapse
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, options = {}, token = Biffbot.token
options[:api_name] = api_name
parse(token, 'custom', url, options)
end
|