Class: Swagger::DSL::ParametersInType
- Inherits:
-
Object
- Object
- Swagger::DSL::ParametersInType
- Defined in:
- lib/swagger/dsl/parameters_in_type.rb
Instance Method Summary collapse
-
#initialize(parent, type, parameter_options, &block) ⇒ ParametersInType
constructor
A new instance of ParametersInType.
- #method_missing(name, *args, &block) ⇒ Object
- #respond_to_missing?(name, include_private) ⇒ Boolean
Constructor Details
#initialize(parent, type, parameter_options, &block) ⇒ ParametersInType
Returns a new instance of ParametersInType.
6 7 8 9 10 11 |
# File 'lib/swagger/dsl/parameters_in_type.rb', line 6 def initialize(parent, type, , &block) @parent = parent @type = type @parameter_options = instance_eval(&block) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Method Details
#respond_to_missing?(name, include_private) ⇒ Boolean
13 14 15 |
# File 'lib/swagger/dsl/parameters_in_type.rb', line 13 def respond_to_missing?(name, include_private) true end |