Sha256: 786dbd0693ceecddfeacb7f098efea2f087b7390ae5a9d983922c595349256c0

Contents?: true

Size: 763 Bytes

Versions: 17

Compression:

Stored size: 763 Bytes

Contents

module Shamu
  module Features

    # Select the features to be listed.
    class ListScope < Entities::ListScope

      # ============================================================================
      # @!group Attributes
      #

      # @!attribute
      # @return [Symbol] the desired type of toggle.
      attribute :type, inclusion: { in: Features::Toggle::TYPES }

      # @!attribute
      # @return [Symbol] only include toggles that have retired but are still
      #     configured.
      attribute :retired, coerce: :to_bool

      # @!attribute
      # @return [String] include toggles with a name that is prefixed with the
      #     given value.
      attribute :prefix, coerce: :to_s

      #
      # @!endgroup Attributes

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
shamu-0.0.24 lib/shamu/features/list_scope.rb
shamu-0.0.21 lib/shamu/features/list_scope.rb
shamu-0.0.20 lib/shamu/features/list_scope.rb
shamu-0.0.19 lib/shamu/features/list_scope.rb
shamu-0.0.18 lib/shamu/features/list_scope.rb
shamu-0.0.17 lib/shamu/features/list_scope.rb
shamu-0.0.15 lib/shamu/features/list_scope.rb
shamu-0.0.14 lib/shamu/features/list_scope.rb
shamu-0.0.13 lib/shamu/features/list_scope.rb
shamu-0.0.11 lib/shamu/features/list_scope.rb
shamu-0.0.9 lib/shamu/features/list_scope.rb
shamu-0.0.8 lib/shamu/features/list_scope.rb
shamu-0.0.7 lib/shamu/features/list_scope.rb
shamu-0.0.5 lib/shamu/features/list_scope.rb
shamu-0.0.4 lib/shamu/features/list_scope.rb
shamu-0.0.3 lib/shamu/features/list_scope.rb
shamu-0.0.2 lib/shamu/features/list_scope.rb