killbill/killbill-client-ruby

View on GitHub

Showing 146 of 200 total issues

Method find_in_batches_by_search_type_name has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

        def find_in_batches_by_search_type_name(object_type, field_name, field_value, offset = 0, limit = 100, options = {})
Severity: Minor
Found in lib/killbill_client/models/custom_field.rb - About 45 mins to fix

    Method trigger_invoice has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            def trigger_invoice(account_id, target_date, user = nil, reason = nil, comment = nil, options = {})
    Severity: Minor
    Found in lib/killbill_client/models/invoice.rb - About 45 mins to fix

      Method update_bcd has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

            def update_bcd(user = nil, reason = nil, comment = nil, effective_from_date = nil, force_past_effective_date = nil, options = {})
      Severity: Minor
      Found in lib/killbill_client/models/subscription.rb - About 45 mins to fix

        Method increment_kb_clock has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                def increment_kb_clock(days, weeks, months, years, time_zone, options)
        Severity: Minor
        Found in lib/killbill_client/models/admin.rb - About 45 mins to fix

          Method build_form_descriptor has 6 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                def build_form_descriptor(kb_account_id, payment_method_id = nil, user = nil, reason = nil, comment = nil, options = {})
          Severity: Minor
          Found in lib/killbill_client/models/hosted_payment_page.rb - About 45 mins to fix

            Consider simplifying this complex logical expression.
            Open

                      if (options[:api_key] || KillBillClient.api_key) && (options[:api_secret] || KillBillClient.api_secret)
                        request['X-Killbill-ApiKey'] = options[:api_key] || KillBillClient.api_key
                        request['X-Killbill-ApiSecret'] = options[:api_secret] || KillBillClient.api_secret
                      end
            Severity: Major
            Found in lib/killbill_client/api/net_http_adapter.rb - About 40 mins to fix

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

                      def upload_tenant_overdue_config_xml(body, user = nil, reason = nil, comment = nil, options = {})
              Severity: Minor
              Found in lib/killbill_client/models/overdue.rb - About 35 mins to fix

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

                      def remove_email(email, user = nil, reason = nil, comment = nil, options = {})
                Severity: Minor
                Found in lib/killbill_client/models/account.rb - About 35 mins to fix

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

                          def delete_payment_state_machine(plugin_name, user = nil, reason = nil, comment = nil, options = {})
                  Severity: Minor
                  Found in lib/killbill_client/models/tenant.rb - About 35 mins to fix

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

                          def complete(user = nil, reason = nil, comment = nil, options = {}, refresh_options = nil)
                    Severity: Minor
                    Found in lib/killbill_client/models/transaction.rb - About 35 mins to fix

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

                            def remove_tag_from_definition_id(tag_definition_id, user = nil, reason = nil, comment = nil, options = {})
                      Severity: Minor
                      Found in lib/killbill_client/models/helpers/tag_helper.rb - About 35 mins to fix

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

                              def combo_payment(user, reason, comment, options, refresh_options = nil)
                        Severity: Minor
                        Found in lib/killbill_client/models/combo_transaction.rb - About 35 mins to fix

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

                                  def complete_invoice_payment_transaction(payment_id, user, reason, comment, options)
                          Severity: Minor
                          Found in lib/killbill_client/models/invoice_payment.rb - About 35 mins to fix

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

                                  def update(treat_null_as_reset = false, user = nil, reason = nil, comment = nil, options = {})
                            Severity: Minor
                            Found in lib/killbill_client/models/account.rb - About 35 mins to fix

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

                                    def create(auto_commit = false, user = nil, reason = nil, comment = nil, options = {})
                              Severity: Minor
                              Found in lib/killbill_client/models/credit.rb - About 35 mins to fix

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

                                      def void(user = nil, reason = nil, comment = nil, options = {}, refresh_options = nil)
                                Severity: Minor
                                Found in lib/killbill_client/models/transaction.rb - About 35 mins to fix

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

                                        def add_tag(tag_name, user = nil, reason = nil, comment = nil, options = {})
                                  Severity: Minor
                                  Found in lib/killbill_client/models/helpers/tag_helper.rb - About 35 mins to fix

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

                                          def remove_tag(tag_name, user = nil, reason = nil, comment = nil, options = {})
                                    Severity: Minor
                                    Found in lib/killbill_client/models/helpers/tag_helper.rb - About 35 mins to fix

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

                                              def find_in_batches(offset = 0, limit = 100, with_balance = false, with_balance_and_cba = false, options = {})
                                      Severity: Minor
                                      Found in lib/killbill_client/models/account.rb - About 35 mins to fix

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

                                                def find_by_account_id(account_id, user = 'Ruby_Client', options = {}, reason = nil, comment = nil)
                                        Severity: Minor
                                        Found in lib/killbill_client/models/export.rb - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language