Class: Httpdoc::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/httpdoc/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAction

Returns a new instance of Action.



19
20
21
22
23
# File 'lib/httpdoc/model.rb', line 19

def initialize
  @parameters = []
  @examples = []
  @statuses = []
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



27
28
29
# File 'lib/httpdoc/model.rb', line 27

def description
  @description
end

#examplesObject

Returns the value of attribute examples.



29
30
31
# File 'lib/httpdoc/model.rb', line 29

def examples
  @examples
end

#parametersObject

Returns the value of attribute parameters.



28
29
30
# File 'lib/httpdoc/model.rb', line 28

def parameters
  @parameters
end

#returnObject

Returns the value of attribute return.



31
32
33
# File 'lib/httpdoc/model.rb', line 31

def return
  @return
end

#short_descriptionObject

Returns the value of attribute short_description.



26
27
28
# File 'lib/httpdoc/model.rb', line 26

def short_description
  @short_description
end

#statusesObject

Returns the value of attribute statuses.



30
31
32
# File 'lib/httpdoc/model.rb', line 30

def statuses
  @statuses
end

#urlObject

Returns the value of attribute url.



25
26
27
# File 'lib/httpdoc/model.rb', line 25

def url
  @url
end