Sha256: f3f60a71eafdaf9e0317fd0680d5d02e426b6924b2f0c6bc4c0e747e6a4f348b

Contents?: true

Size: 187 Bytes

Versions: 7

Compression:

Stored size: 187 Bytes

Contents

module Locomotive
  module Steam

    class SiteFinderService < Struct.new(:repository, :request)

      def find
        repository.by_domain(request.host)
      end

    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
locomotivecms_steam-1.0.0.pre.beta.3 lib/locomotive/steam/services/site_finder_service.rb
locomotivecms_steam-1.0.0.pre.beta.2 lib/locomotive/steam/services/site_finder_service.rb
locomotivecms_steam-1.0.0.pre.beta.1 lib/locomotive/steam/services/site_finder_service.rb
locomotivecms_steam-1.0.0.pre.alpha.3 lib/locomotive/steam/services/site_finder_service.rb
locomotivecms_steam-1.0.0.pre.alpha.2 lib/locomotive/steam/services/site_finder_service.rb
locomotivecms_steam-1.0.0.pre.alpha.1 lib/locomotive/steam/services/site_finder_service.rb
locomotivecms_steam-1.0.0.pre.alpha lib/locomotive/steam/services/site_finder_service.rb