Class: MomoPay::Http

Inherits:
Object
  • Object
show all
Defined in:
lib/momo_pay/http.rb

Class Method Summary collapse

Class Method Details

.post(*args) ⇒ Object



4
5
6
7
8
# File 'lib/momo_pay/http.rb', line 4

def self.post(*args)
  ::Http.headers(content_type: 'application/json; charset=UTF-8')
    .timeout(60)
    .post(*args)
end