Class: Stone::Siclos::Client::Pos

Inherits:
Base
  • Object
show all
Defined in:
lib/stone/siclos/client/pos.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #parse_endpoint, #remove_blank_values, #request

Constructor Details

This class inherits a constructor from Stone::Siclos::Client::Base

Instance Method Details



18
19
20
# File 'lib/stone/siclos/client/pos.rb', line 18

def activate_pos_link(data)
  request(:post, '/pos/active-pos-link', data)
end

#control_configuration(data) ⇒ Object



6
7
8
# File 'lib/stone/siclos/client/pos.rb', line 6

def control_configuration(data)
  request(:post, '/pos/control-configuration', data)
end


22
23
24
# File 'lib/stone/siclos/client/pos.rb', line 22

def deactivate_pos_link(pos_reference_id)
  request(:put, '/pos/deactivate-pos-link', pos_reference_id)
end

#get_available_pos(establishment_id) ⇒ Object



14
15
16
# File 'lib/stone/siclos/client/pos.rb', line 14

def get_available_pos(establishment_id)
  request(:get, "/pos/get-available-pos/#{establishment_id}")
end

#get_control_configuration(establishment_id) ⇒ Object



10
11
12
# File 'lib/stone/siclos/client/pos.rb', line 10

def get_control_configuration(establishment_id)
  request(:get, "/pos/control-configuration/#{establishment_id}")
end