Sha256: 7ec301583e34dc52f14dcb9ca118e6de0d67086004ffdc190d04bf0037aba73c
Contents?: true
Size: 571 Bytes
Versions: 21
Compression:
Stored size: 571 Bytes
Contents
# frozen_string_literal: true module Blacklight module Routes class Exportable def initialize(defaults = {}) @defaults = defaults end def call(mapper, _options = {}) mapper.member do mapper.match 'email', via: [:get, :post] mapper.match 'sms', via: [:get, :post] mapper.get 'citation' end mapper.collection do mapper.match 'email', via: [:get, :post] mapper.match 'sms', via: [:get, :post] mapper.get 'citation' end end end end end
Version data entries
21 entries across 21 versions & 2 rubygems