Class: Nimbox::Resources::Consultations

Inherits:
Rapidash::Base
  • Object
show all
Defined in:
lib/nimbox/resources/consultations.rb

Instance Method Summary collapse

Instance Method Details

#diagnostics(id) ⇒ Object



10
11
12
13
14
# File 'lib/nimbox/resources/consultations.rb', line 10

def diagnostics(id)
  options[:method] = :get
  @url = "consultations/#{id}/consultation_diagnostics"
  call!
end

#finish(id) ⇒ Object



4
5
6
7
8
# File 'lib/nimbox/resources/consultations.rb', line 4

def finish(id)
  options[:method] = :put
  @url = "consultations/#{id}/finish"
  call!
end