Sha256: d900bf66cf69a3fb6a09cbae5ac8d8e1aed1a580c5da31192738584c01c795f4

Contents?: true

Size: 261 Bytes

Versions: 7

Compression:

Stored size: 261 Bytes

Contents

module OasRails
  class License < OasBase
    attr_accessor :name, :url

    def initialize(**kwargs)
      super()
      @name = kwargs[:name] || 'GPL 3.0'
      @url = kwargs[:url] || 'https://www.gnu.org/licenses/gpl-3.0.html#license-text'
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
oas_rails-0.3.0 lib/oas_rails/license.rb
oas_rails-0.2.3 lib/oas_rails/license.rb
oas_rails-0.2.2 lib/oas_rails/license.rb
oas_rails-0.2.1 lib/oas_rails/license.rb
oas_rails-0.2.0 lib/oas_rails/license.rb
oas_rails-0.1.1 lib/oas_rails/license.rb
oas_rails-0.1.0 lib/oas_rails/license.rb