Method: BlueBank::Client#post

Defined in:
lib/blue_bank/client.rb

#post(path:, json:) ⇒ Object



14
15
16
# File 'lib/blue_bank/client.rb', line 14

def post(path:, json:)
  JSON.parse(adapter.post(base_url + path, JSON.dump(json), request_headers))
end