Sha256: e5b5a283351767186b6c79ace971ec07fcbc679bcfa622619d3b0cca1b45aea6

Contents?: true

Size: 325 Bytes

Versions: 6

Compression:

Stored size: 325 Bytes

Contents

module {{namespace_module}}
  module Sessions
    class Endpoint
      include Shogun::Endpoint
      include Sessions

      def initialize(router:)
        router.push route: route(verb: :post, control: Create::Control)
        router.push route: route(verb: :delete, control: Destroy::Control)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shogun-6.4.2 scaffold/new/project/lib/namespace/sessions/endpoint.rb
shogun-6.4.1 scaffold/new/project/lib/namespace/sessions/endpoint.rb
shogun-6.4.0 scaffold/new/project/lib/namespace/sessions/endpoint.rb
shogun-6.3.0 scaffold/new/project/lib/namespace/sessions/endpoint.rb
shogun-6.2.3 scaffold/new/project/lib/namespace/sessions/endpoint.rb
shogun-6.2.2 scaffold/new/project/lib/namespace/sessions/endpoint.rb