module Swagger::Bash::ClassMethods
@api private
Public Class Methods
extend_object(dash)
click to toggle source
# File lib/swagger/builder.rb, line 10 def self.extend_object(dash) raise TypeError, 'Bash only works on Dash' unless dash <= Hashie::Dash dash.instance_variable_get('@required_properties').clear dash.coerce_value Hashie::Dash, Swagger::Bash, strict: false end
Public Instance Methods
required?(_name)
click to toggle source
# File lib/swagger/builder.rb, line 16 def required?(_name) false end