Sha256: 6680cf81831452b3e379e1f23e0f8ad28d034f8d31199c9617c6509cc83b1129

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

require 'diesel/swagger/node'

module Diesel
  module Swagger
    class SecurityDefinition < Node
      attr_reader :id

      attribute :type
      attribute :description
      attribute :name
      attribute :in, symbolize: true
      attribute :flow
      attribute :authorization_url
      attribute :token_url
      attribute :scopes

      def initialize(id)
        super()
        @id = id
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
diesel-api-dsl-0.1.5 lib/diesel/swagger/security_definition.rb
diesel-api-dsl-0.1.3 lib/diesel/swagger/security_definition.rb
diesel-api-dsl-0.1.2 lib/diesel/swagger/security_definition.rb