Class: Regaliator::V15::Bill

Inherits:
Endpoint show all
Defined in:
lib/regaliator/v15/bill.rb

Instance Attribute Summary

Attributes inherited from Endpoint

#config

Instance Method Summary collapse

Methods inherited from Endpoint

#initialize

Constructor Details

This class inherits a constructor from Regaliator::Endpoint

Instance Method Details

#check(params = {}) ⇒ Object



18
19
20
# File 'lib/regaliator/v15/bill.rb', line 18

def check(params = {})
  request('/bill/check', params).post
end

#consult(params = {}) ⇒ Object



10
11
12
# File 'lib/regaliator/v15/bill.rb', line 10

def consult(params = {})
  request('/bill/consult', params).post
end

#index(params = {}) ⇒ Object



6
7
8
# File 'lib/regaliator/v15/bill.rb', line 6

def index(params = {})
  request('/bills', params).post
end

#pay(params = {}) ⇒ Object



14
15
16
# File 'lib/regaliator/v15/bill.rb', line 14

def pay(params = {})
  request('/bill/pay', params).post
end