Skip to content

Commit

Permalink
More simplifying inheritance (#775)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-stripe authored and ob-stripe committed May 7, 2019
1 parent 14d6a4e commit cd05d36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/stripe/radar/value_list_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Stripe
module Radar
class ValueListItem < Stripe::APIResource
class ValueListItem < APIResource
extend Stripe::APIOperations::Create
include Stripe::APIOperations::Delete
extend Stripe::APIOperations::List
Expand Down
2 changes: 1 addition & 1 deletion lib/stripe/sigma/scheduled_query_run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Stripe
module Sigma
class ScheduledQueryRun < Stripe::APIResource
class ScheduledQueryRun < APIResource
extend Stripe::APIOperations::List

OBJECT_NAME = "scheduled_query_run".freeze
Expand Down
2 changes: 1 addition & 1 deletion test/stripe/api_resource_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

module Stripe
class ApiResourceTest < Test::Unit::TestCase
class NestedTestAPIResource < Stripe::APIResource
class NestedTestAPIResource < APIResource
save_nested_resource :external_account
end

Expand Down

0 comments on commit cd05d36

Please sign in to comment.