Sha256: 2f507b6d5e150a132d685a4b92433517f88609e7d3a3371764181113c3c3e159

Contents?: true

Size: 306 Bytes

Versions: 15

Compression:

Stored size: 306 Bytes

Contents

module OasRails
  module Spec
    class Tag
      include Specable

      attr_accessor :name, :description

      def initialize(name:, description:)
        @name = name.titleize
        @description = description
      end

      def oas_fields
        [:name, :description]
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
oas_rails-0.9.0 lib/oas_rails/spec/tag.rb
oas_rails-0.8.4 lib/oas_rails/spec/tag.rb
oas_rails-0.8.3 lib/oas_rails/spec/tag.rb
oas_rails-0.8.2 lib/oas_rails/spec/tag.rb
oas_rails-0.8.1 lib/oas_rails/spec/tag.rb
oas_rails-0.8.0 lib/oas_rails/spec/tag.rb
oas_rails-0.7.0 lib/oas_rails/spec/tag.rb
oas_rails-0.6.0 lib/oas_rails/spec/tag.rb
oas_rails-0.5.0 lib/oas_rails/spec/tag.rb
oas_rails-0.4.5 lib/oas_rails/spec/tag.rb
oas_rails-0.4.4 lib/oas_rails/spec/tag.rb
oas_rails-0.4.3 lib/oas_rails/spec/tag.rb
oas_rails-0.4.2 lib/oas_rails/spec/tag.rb
oas_rails-0.4.1 lib/oas_rails/spec/tag.rb
oas_rails-0.4.0 lib/oas_rails/spec/tag.rb