Class: Factual::Write::Clear
Constant Summary collapse
- VALID_KEYS =
[ :table, :user, :factual_id, :fields, :clear_blanks, :comment, :reference ]
Instance Method Summary collapse
-
#initialize(api, params) ⇒ Clear
constructor
A new instance of Clear.
- #path ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(api, params) ⇒ Clear
Returns a new instance of Clear.
11 12 13 14 |
# File 'lib/factual/write/clear.rb', line 11 def initialize(api, params) validate_params(params) super(api, params) end |
Instance Method Details
#path ⇒ Object
22 23 24 |
# File 'lib/factual/write/clear.rb', line 22 def path "/t/#{@params[:table]}/#{@params[:factual_id]}/clear" end |