Skip to content

Commit

Permalink
Remove old API code (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrylewis authored Nov 23, 2023
1 parent 43d64a2 commit 5dd9fe7
Show file tree
Hide file tree
Showing 115 changed files with 4 additions and 2,640 deletions.
6 changes: 0 additions & 6 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ AllCops:
TargetRubyVersion: 2.7
SuggestExtensions: false
NewCops: enable
Exclude:
# These files will eventually be removed from the library, so don't bother fixing them up.
- 'lib/payrix/http/request_params.rb'
- 'lib/payrix/resource/**/*.rb'
- 'lib/payrix/resource.rb'
- 'spec/lib/payrix/resource/**/*.rb'

Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver
Expand Down
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-08-24 01:23:51 UTC using RuboCop version 1.55.1.
# on 2023-11-20 14:54:51 UTC using RuboCop version 1.55.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.6
2.7.7
1 change: 0 additions & 1 deletion lib/payrix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
require 'payrix/configuration'
require 'payrix/exceptions'
require 'payrix/http'
require 'payrix/resource'
require 'payrix/client'
require 'payrix/util'
require 'payrix/object'
Expand Down
9 changes: 2 additions & 7 deletions lib/payrix/http.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
# frozen_string_literal: true

module Payrix
module Http # rubocop:disable Style/Documentation - Legacy file, which will be removed eventually
autoload :RequestParams, 'payrix/http/request_params'
autoload :Request, 'payrix/http/request'
autoload :Response, 'payrix/http/response'
end
end
require 'payrix/http/request'
require 'payrix/http/response'
69 changes: 0 additions & 69 deletions lib/payrix/http/request_params.rb

This file was deleted.

108 changes: 0 additions & 108 deletions lib/payrix/resource.rb

This file was deleted.

21 changes: 0 additions & 21 deletions lib/payrix/resource/account_verifications.rb

This file was deleted.

20 changes: 0 additions & 20 deletions lib/payrix/resource/accounts.rb

This file was deleted.

22 changes: 0 additions & 22 deletions lib/payrix/resource/adjustments.rb

This file was deleted.

21 changes: 0 additions & 21 deletions lib/payrix/resource/aggregation_result_groups.rb

This file was deleted.

21 changes: 0 additions & 21 deletions lib/payrix/resource/aggregation_results.rb

This file was deleted.

22 changes: 0 additions & 22 deletions lib/payrix/resource/aggregations.rb

This file was deleted.

19 changes: 0 additions & 19 deletions lib/payrix/resource/alert_actions.rb

This file was deleted.

19 changes: 0 additions & 19 deletions lib/payrix/resource/alert_triggers.rb

This file was deleted.

Loading

0 comments on commit 5dd9fe7

Please sign in to comment.