Sha256: c0765b052eef4bc766119e5e04476cfcddc27df14307df643ed4385363ed77c2

Contents?: true

Size: 428 Bytes

Versions: 7

Compression:

Stored size: 428 Bytes

Contents

require 'apiture/swagger/node'

module Apiture
  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

7 entries across 7 versions & 1 rubygems

Version Path
apiture-0.2.6 lib/apiture/swagger/security_definition.rb
apiture-0.2.5 lib/apiture/swagger/security_definition.rb
apiture-0.2.4 lib/apiture/swagger/security_definition.rb
apiture-0.2.3 lib/apiture/swagger/security_definition.rb
apiture-0.2.2 lib/apiture/swagger/security_definition.rb
apiture-0.2.1 lib/apiture/swagger/security_definition.rb
apiture-0.2.0 lib/apiture/swagger/security_definition.rb