Class: Stone::Siclos::Client::Webhook

Inherits:
Base
  • Object
show all
Defined in:
lib/stone/siclos/client/webhook.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

#enabled_split(data) ⇒ Object



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

def enabled_split(data)
  request(:post, '/webhook/enabled-split', data)
end

#pos_application(data) ⇒ Object



26
27
28
# File 'lib/stone/siclos/client/webhook.rb', line 26

def pos_application(data)
  request(:post, '/webhook/pos-application', data)
end

#pre_transaction_status(data) ⇒ Object



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

def pre_transaction_status(data)
  request(:post, '/webhook/pre-transaction-status', data)
end


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

def print_note_status(data)
  request(:post, '/webhook/print-note-status', data)
end

#processed_transaction(data) ⇒ Object



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

def processed_transaction(data)
  request(:post, '/webhook/processed-transaction', data)
end

#status_split(data) ⇒ Object



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

def status_split(data)
  request(:post, '/webhook/status-split', data)
end

#webhookObject



30
31
32
# File 'lib/stone/siclos/client/webhook.rb', line 30

def webhook
  request(:get, '/webhook')
end