Sha256: 36c3347932d1908194e1d57d8eba2e4c19c64d3514f76b92d289481f56f4187d
Contents?: true
Size: 370 Bytes
Versions: 1
Compression:
Stored size: 370 Bytes
Contents
module Billplz class Model < Flexirest::Base perform_caching false #verbose! request_body_type :json before_request :replace_token_in_url private def replace_token_in_url(name, request) auth = "Basic " + Base64.encode64(Billplz.configuration.api_key + ":").strip request.headers["Authorization"] = auth end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
billplz-api-0.1.0 | lib/billplz/model.rb |