Sha256: acd9117b33a532f66b773d99822aea4717ee6841d1f85399a0a8e413481cfe59
Contents?: true
Size: 555 Bytes
Versions: 3
Compression:
Stored size: 555 Bytes
Contents
module StatRaptor class Client module Adapters module Typhoeus def self.request_api_response(method, path, params = {}) params.merge!(:platform_credentials => StatRaptor.platform_credentials) ::Typhoeus::Request.run( "#{StatRaptor.endpoint}/api/v1#{path}", :method => method, :params => params, :disable_ssl_peer_verification => StatRaptor.disable_ssl_peer_verification, :timeout => StatRaptor.timeout ) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
statraptor-0.2.3 | lib/statraptor/client/adapters/typhoeus.rb |
statraptor-0.2.2 | lib/statraptor/client/adapters/typhoeus.rb |
statraptor-0.2.1 | lib/statraptor/client/adapters/typhoeus.rb |