Skip to content

Commit

Permalink
Rename GetHostContentService
Browse files Browse the repository at this point in the history
This keeps it consistent
  • Loading branch information
pezholio committed Nov 19, 2024
1 parent 943318f commit ef44a64
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/controllers/v2/content_items_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def linkables
end

def embedded
results = GetHostContentService.new(
results = GetEmbeddedContentService.new(
path_params[:content_id],
query_params[:order],
query_params[:page],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class GetHostContentService
class GetEmbeddedContentService
def initialize(target_content_id, order, page, per_page)
@target_content_id = target_content_id
@order = order
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RSpec.describe GetHostContentService do
RSpec.describe GetEmbeddedContentService do
describe "#call" do
let(:organisation) do
edition_params = {
Expand Down

0 comments on commit ef44a64

Please sign in to comment.