Method: Worksection::Client::Creating#post_project

Defined in:
lib/worksection/modules/creating.rb

#post_project(**args) ⇒ Object

your-domain.com/api/admin/?action=post_project&email_user_from=USER_EMAIL&email_manager=USER_EMAIL&email_user_to=USER_EMAIL&members=USER_EMAIL, USER_EMAIL&title=TASK_NAME&text=TASK_TEXT&company=COMPANY&datestart=DD.MM.YYYYY&dateend=DD.MM.YYYYY&hash=HASH



14
15
16
17
18
19
# File 'lib/worksection/modules/creating.rb', line 14

def post_project(**args)
  url = URI("https://#{@domain}/api/admin/?action=post_project"\
            "#{collect_params(**args)}"\
            "&hash=#{to_md5(__method__.to_s, page)}")
  perform_request(url)
end