Sha256: f93409c745540768efa3b8356ba9ba4a77558737c1b8c9cc97cf250ec6b20c1c

Contents?: true

Size: 303 Bytes

Versions: 18

Compression:

Stored size: 303 Bytes

Contents

# frozen_string_literal: true

module Spotlight
  ##
  # Serialize the Spotlight::BlacklightConfiguration
  class MainNavigationRepresenter < Roar::Decorator
    include Roar::JSON

    (Spotlight::MainNavigation.attribute_names - %w(id exhibit_id)).each do |prop|
      property prop
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.2 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-3.0.0.alpha.1 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.13.0 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.12.1 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.12.0 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.11.0 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.10.0 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.9.0 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.8.0 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.7.2 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.7.1 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.7.0 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.6.1.1 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.6.1 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.6.0 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.5.2 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.5.1 app/serializers/spotlight/main_navigation_representer.rb
blacklight-spotlight-2.5.0 app/serializers/spotlight/main_navigation_representer.rb