cloudspokes/cs-website-cms

View on GitHub
lib/restforce_utils.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method post_apex_rest has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

  def self.post_apex_rest(url_string, options, access_token=nil, user_type=:guest, version='v.9')
Severity: Minor
Found in lib/restforce_utils.rb - About 35 mins to fix

    Method upsert_in_salesforce has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      def self.upsert_in_salesforce(sobject, params, external_field_name, access_token=nil, user_type=:guest)
    Severity: Minor
    Found in lib/restforce_utils.rb - About 35 mins to fix

      Method put_apex_rest has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        def self.put_apex_rest(url_string, params={}, access_token=nil, user_type=:guest, version='v.9')
      Severity: Minor
      Found in lib/restforce_utils.rb - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status