Class: HTTPService::NaviAI

Inherits:
Object
  • Object
show all
Defined in:
lib/http_service/naviai.rb

Class Method Summary collapse

Class Method Details

.start(start_time, end_time) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/http_service/naviai.rb', line 10

def self.start(start_time, end_time)
  HTTParty.post(GO_SERVER_URL, body: {
                                      client_type: CLIENT_TYPE,
                                      start_time: start_time,
                                      end_time: end_time
                                       })
end