Sha256: cdfe7b75e13b689abcb7371e941e8ad501434bec7e6889ae0fbece493bb89d39
Contents?: true
Size: 401 Bytes
Versions: 11
Compression:
Stored size: 401 Bytes
Contents
module TryApi class Parameter < TryApi::Base typesafe_accessor :name, String typesafe_accessor :type, String typesafe_accessor :parameters, Array, default: [], items_type: TryApi::Parameter typesafe_accessor :required, Boolean, default: true typesafe_accessor :custom, Boolean, default: false, if: -> { self.type == 'object' } typesafe_accessor :description, String end end
Version data entries
11 entries across 11 versions & 1 rubygems