Class: Factual::Write::Boost
Constant Summary collapse
- VALID_KEYS =
[:table, :factual_id, :user, :q]
Instance Method Summary collapse
-
#initialize(api, params) ⇒ Boost
constructor
A new instance of Boost.
- #path ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(api, params) ⇒ Boost
Returns a new instance of Boost.
6 7 8 9 10 |
# File 'lib/factual/write/boost.rb', line 6 def initialize(api, params) validate_params(params) super(api, params) @params_on_path = [:table] end |
Instance Method Details
#path ⇒ Object
18 19 20 |
# File 'lib/factual/write/boost.rb', line 18 def path "/t/#{@params[:table]}/boost" end |