restforce

    2熱度

    1回答

    我正在運行Restforce API,我相信它使用了我讀過的OAuth 2。我有工作的登錄,但在這一點上,我只是想做出返回登錄是否成功的東西。我有用戶名,密碼,安全令牌,客戶端ID和客戶端密鑰。 當我打印出結果返回: #Restforce::Data::Client:0x0055b1b3433798 有沒有一種方法可以讓我有它返回「成功了!」或「失敗!」或類似的東西? URI_SF = URI

    2熱度

    1回答

    我用Ruby on Rails的4.2.5與Restforce寶石Salesforce的API。我在我的控制器中創建了一個Contact: class CandidateFormController < ApplicationController def index client = Restforce.new( :username => ENV['SALESFO

    0熱度

    1回答

    我正在使用restforce gem打Salesforce api。但在我的地方,它對每一種情況都工作得很好。但是在分段服務器(AWS)上,它應該執行如下代碼: Restforce::UnauthorizedError · app/services/sales_force_methods.rb:23 Connection prefix not set 任何指向同一個?