class Rubspot::Base
Public Class Methods
get(uri)
click to toggle source
# File lib/rubspot/models/base.rb, line 7 def self.get(uri) client = HTTPClient.new client.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_NONE client.get(uri) end
post(uri, params = {})
click to toggle source
# File lib/rubspot/models/base.rb, line 13 def self.post(uri, params = {}) client = HTTPClient.new client.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_NONE client.post(uri, params, {'Content-Type' => 'application/json'} ) end