Class: Fictium::Configuration::Postman
- Inherits:
-
Object
- Object
- Fictium::Configuration::Postman
- Defined in:
- lib/fictium/configurations/postman.rb
Instance Attribute Summary collapse
-
#api_url ⇒ Object
Returns the value of attribute api_url.
-
#default_status_names ⇒ Object
Returns the value of attribute default_status_names.
-
#example_formatter ⇒ Object
Returns the value of attribute example_formatter.
-
#id ⇒ Object
Returns the value of attribute id.
-
#unknown_status_name ⇒ Object
Returns the value of attribute unknown_status_name.
Instance Method Summary collapse
-
#initialize ⇒ Postman
constructor
A new instance of Postman.
Constructor Details
#initialize ⇒ Postman
Returns a new instance of Postman.
6 7 8 9 10 11 |
# File 'lib/fictium/configurations/postman.rb', line 6 def initialize @api_url = '{{API_URL}}' @example_formatter = method(:format_example) @default_status_names = {} @unknown_status_name = method(:format_unknown_status_name) end |
Instance Attribute Details
#api_url ⇒ Object
Returns the value of attribute api_url.
4 5 6 |
# File 'lib/fictium/configurations/postman.rb', line 4 def api_url @api_url end |
#default_status_names ⇒ Object
Returns the value of attribute default_status_names.
4 5 6 |
# File 'lib/fictium/configurations/postman.rb', line 4 def default_status_names @default_status_names end |
#example_formatter ⇒ Object
Returns the value of attribute example_formatter.
4 5 6 |
# File 'lib/fictium/configurations/postman.rb', line 4 def example_formatter @example_formatter end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/fictium/configurations/postman.rb', line 4 def id @id end |
#unknown_status_name ⇒ Object
Returns the value of attribute unknown_status_name.
4 5 6 |
# File 'lib/fictium/configurations/postman.rb', line 4 def unknown_status_name @unknown_status_name end |