Class: Fictium::Configuration::ApiBlueprint

Inherits:
Object
  • Object
show all
Defined in:
lib/fictium/configurations/api_blueprint.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeApiBlueprint

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.footer_header = '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_formatterObject

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

Returns the value of attribute footer_header.



4
5
6
# File 'lib/fictium/configurations/api_blueprint.rb', line 4

def footer_header
  @footer_header
end

#hostObject

Returns the value of attribute host.



4
5
6
# File 'lib/fictium/configurations/api_blueprint.rb', line 4

def host
  @host
end

#license_formatterObject

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_nameObject

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_formatterObject

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