Class: Taiga::Task

Inherits:
FlexiBase
  • Object
show all
Defined in:
lib/taiga.rb

Instance Method Summary collapse

Methods inherited from FlexiBase

base_url, #disable_pagination, #set_bearer

Instance Method Details

#clear_params(name, request) ⇒ Object



63
64
65
66
67
# File 'lib/taiga.rb', line 63

def clear_params(name, request)
  # NOTE: Flexirest puts all object attributes as parameter but Taiga reject these ones, so we need to clean all parameters before request
  request.get_params = {} if name == :remove
  nil
end