Class: Httpdoc::Action
- Inherits:
-
Object
- Object
- Httpdoc::Action
- Defined in:
- lib/httpdoc/model.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#examples ⇒ Object
Returns the value of attribute examples.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
-
#return ⇒ Object
Returns the value of attribute return.
-
#short_description ⇒ Object
Returns the value of attribute short_description.
-
#statuses ⇒ Object
Returns the value of attribute statuses.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize ⇒ Action
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
#description ⇒ Object
Returns the value of attribute description.
27 28 29 |
# File 'lib/httpdoc/model.rb', line 27 def description @description end |
#examples ⇒ Object
Returns the value of attribute examples.
29 30 31 |
# File 'lib/httpdoc/model.rb', line 29 def examples @examples end |
#parameters ⇒ Object
Returns the value of attribute parameters.
28 29 30 |
# File 'lib/httpdoc/model.rb', line 28 def parameters @parameters end |
#return ⇒ Object
Returns the value of attribute return.
31 32 33 |
# File 'lib/httpdoc/model.rb', line 31 def return @return end |
#short_description ⇒ Object
Returns the value of attribute short_description.
26 27 28 |
# File 'lib/httpdoc/model.rb', line 26 def short_description @short_description end |
#statuses ⇒ Object
Returns the value of attribute statuses.
30 31 32 |
# File 'lib/httpdoc/model.rb', line 30 def statuses @statuses end |
#url ⇒ Object
Returns the value of attribute url.
25 26 27 |
# File 'lib/httpdoc/model.rb', line 25 def url @url end |