class Angus::SDoc::Definitions::ResponseElement

Attributes

default[RW]

@!attribute [rw] default

@return [String] the default value of the response element.
description[RW]

@!attribute [rw] description

@return [String] the description of the response element.
elements_type[RW]

@!attribute [rw] elements_type

@return [String] the elements type of the response element.
name[RW]

@!attribute [rw] name

@return [String] the name of the response element.
required[RW]

@!attribute [rw] required

@return [Boolean] indicates if the response element is required or not.
type[RW]

@!attribute [rw] type

@return [String] the type of the response element.

Public Class Methods

new(name = nil, description = nil, required = nil, type = nil, default = nil, elements_type = nil) click to toggle source
# File lib/angus/definitions/response_element.rb, line 29
def initialize(name = nil, description = nil, required = nil, type = nil, default = nil,
               elements_type = nil)
  @name = name
  @description = description
  @required = required
  @type = type
  @default = default
  @elements_type = elements_type
end