Sha256: f9398eed6a6653a4b4311c2a81b960ed0dabfec7d0f26082e2ee221764f4922d

Contents?: true

Size: 631 Bytes

Versions: 5

Compression:

Stored size: 631 Bytes

Contents

module Soaspec
  module TestServer
    # Used to simulate requests requiring oauth authentication
    class Invoices
      class << self
        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

5 entries across 5 versions & 1 rubygems

Version Path
soaspec-0.0.73 lib/soaspec/test_server/invoices.rb
soaspec-0.0.72 lib/soaspec/test_server/invoices.rb
soaspec-0.0.71 lib/soaspec/test_server/invoices.rb
soaspec-0.0.70 lib/soaspec/test_server/invoices.rb
soaspec-0.0.69 lib/soaspec/test_server/invoices.rb