class APIGatewayDSL::Context

Attributes

current_dir[RW]

Allows to change the current directory before loading another Ruby file, so that it is possible to use relative file names (e.g. to JSON schemata) within the DSL.

default_body_file[RW]

Allows to change the current directory before loading another Ruby file, so that it is possible to use relative file names (e.g. to JSON schemata) within the DSL.

Public Class Methods

new(current_dir = nil) click to toggle source
# File lib/api_gateway_dsl/context.rb, line 8
def initialize(current_dir = nil)
  @current_dir = current_dir
end