Sha256: 56b0ea70d30d4b605940e9ae92ba905a0b7cc8e9ef39b581118df7a0b8f89963

Contents?: true

Size: 436 Bytes

Versions: 2

Compression:

Stored size: 436 Bytes

Contents

require 'regaliator/endpoint'

module Regaliator
  module V15
    class Bill < Endpoint
      def index(params = {})
        request('/bills', params).post
      end

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
regaliator-4.0.1 lib/regaliator/v15/bill.rb
regaliator-4.0.0 lib/regaliator/v15/bill.rb