Method: WestfieldSwagger::ApiSpecification#initialize
- Defined in:
- lib/westfield_swagger/api_specification.rb
#initialize(version, context, request, env_prefix = "") ⇒ ApiSpecification
Returns a new instance of ApiSpecification.
8 9 10 11 12 13 |
# File 'lib/westfield_swagger/api_specification.rb', line 8 def initialize(version, context, request, env_prefix = "") @version = version @context = context @request = request @env_version = "#{env_prefix}#{version}" end |