Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Move builder
Browse files Browse the repository at this point in the history
  • Loading branch information
pencil committed Sep 17, 2013
1 parent 94ab970 commit cb5fc23
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'builder'
require 'casino_core/builder'

class CASinoCore::Builder::TicketValidationResponse < CASinoCore::Builder
class CASino::TicketValidationResponseBuilder
def initialize(success, options)
@success = success
@options = options
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require 'casino_core/builder'
require_relative '../concerns/service_tickets'
require_relative '../concerns/ticket_granting_tickets'

Expand Down
4 changes: 1 addition & 3 deletions app/processors/casino/service_ticket_validator_processor.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'casino_core/builder'

require_relative 'concerns/service_tickets'
require_relative 'concerns/proxy_granting_tickets'

Expand All @@ -23,7 +21,7 @@ def process(params = nil)

protected
def build_service_response(success, options = {})
builder = CASinoCore::Builder::TicketValidationResponse.new(success, options)
builder = CASino::TicketValidationResponseBuilder.new(success, options)
builder.build
end

Expand Down
7 changes: 0 additions & 7 deletions lib/casino_core/builder.rb

This file was deleted.

0 comments on commit cb5fc23

Please sign in to comment.