Class: Fictium::Configuration::ApiBlueprint
- Inherits:
-
Object
- Object
- Fictium::Configuration::ApiBlueprint
- Defined in:
- lib/fictium/configurations/api_blueprint.rb
Instance Attribute Summary collapse
-
#api_version_formatter ⇒ Object
Returns the value of attribute api_version_formatter.
-
#footer_header ⇒ Object
Returns the value of attribute footer_header.
-
#host ⇒ Object
Returns the value of attribute host.
-
#license_formatter ⇒ Object
Returns the value of attribute license_formatter.
-
#resources_group_name ⇒ Object
Returns the value of attribute resources_group_name.
-
#terms_of_service_formatter ⇒ Object
Returns the value of attribute terms_of_service_formatter.
Instance Method Summary collapse
-
#initialize ⇒ ApiBlueprint
constructor
A new instance of ApiBlueprint.
Constructor Details
#initialize ⇒ ApiBlueprint
Returns a new instance of ApiBlueprint.
7 8 9 10 11 12 13 14 |
# File 'lib/fictium/configurations/api_blueprint.rb', line 7 def initialize self.host = 'https://change.me.at.api_blueprint.config' self.resources_group_name = 'Resources' self. = 'Information and references' self.api_version_formatter = method(:format_api_version) self.terms_of_service_formatter = method(:format_terms_of_service) self.license_formatter = method(:format_license) end |
Instance Attribute Details
#api_version_formatter ⇒ Object
Returns the value of attribute api_version_formatter.
4 5 6 |
# File 'lib/fictium/configurations/api_blueprint.rb', line 4 def api_version_formatter @api_version_formatter end |
#footer_header ⇒ Object
Returns the value of attribute footer_header.
4 5 6 |
# File 'lib/fictium/configurations/api_blueprint.rb', line 4 def @footer_header end |
#host ⇒ Object
Returns the value of attribute host.
4 5 6 |
# File 'lib/fictium/configurations/api_blueprint.rb', line 4 def host @host end |
#license_formatter ⇒ Object
Returns the value of attribute license_formatter.
4 5 6 |
# File 'lib/fictium/configurations/api_blueprint.rb', line 4 def license_formatter @license_formatter end |
#resources_group_name ⇒ Object
Returns the value of attribute resources_group_name.
4 5 6 |
# File 'lib/fictium/configurations/api_blueprint.rb', line 4 def resources_group_name @resources_group_name end |
#terms_of_service_formatter ⇒ Object
Returns the value of attribute terms_of_service_formatter.
4 5 6 |
# File 'lib/fictium/configurations/api_blueprint.rb', line 4 def terms_of_service_formatter @terms_of_service_formatter end |