Sha256: 00237ef3e16970e3544aeeba1e6958b607569c860cad47f1a4e1577c2b106a40
Contents?: true
Size: 689 Bytes
Versions: 37
Compression:
Stored size: 689 Bytes
Contents
module Soaspec module TestServer # Used to simulate requests requiring oauth authentication class Invoices @user_used = nil class << self attr_accessor :user_used def oauth_headers { 'Content-Type' => 'application/json;charset=UTF-8' } end def oauth_body { access_token: 'TEST_TOKENiIsImtpZCI6IlRFU1QifQ.AAAABBBBRfaWQiOiJhYWQ5MjY3SIMULATE_LARGE_TOKEN3MmM5OGQ5NGE2YTU5YSIsImV4cCI6MTUyNzU3MTY4Mywic2NvcGUiOltdfQ.3OmCdW7fLZMUST_BE_ABLE_TO_HANDLEgAGaJB0lFYyhaw', token_type: 'Bearer', expires_in: '86399' } end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems