lib/washout_builder/document/generator.rb
# Returns either the input arguments of a operation or the output types of that operation depending on the argument
#
# @param [String] type The type of the arguments that need to be returned ("input" or anything else )
# @return [Array<WashOutParam>, Array<Error>] If the argument is "input" will return the arguments of the operation , ottherwise the return type
# @api public
Returns either the input arguments of a operation or the output types of that operation depending on the argument
Returns either the input arguments of a operation or the output types of that operation depending on the argument
def argument_types(type)
        format_type = (type == 'input') ? 'builder_in' : 'builder_out'
        types = []
        unless soap_actions.blank?
          soap_actions.each do |_operation, formats|
            (formats[format_type.to_sym] || []).each do |p|
              types << p
            end
          end
        end
        types
      end
def argument_types ( type ) format_type = ( type == 'input' ) ? 'builder_in' : 'builder_out' types = [ ] unless soap_actions . blank? soap_actions . each do | _operation , formats | ( formats [ format_type . to_sym ] || [ ] ) . each do | p | types << p end end end types end
Returns either the input arguments of a operation or the output types of that operation depending on the argument
Returns either the input arguments of a operation or the output types of that operation depending on the argument
If the argument is "input" will return the arguments of the operation , ottherwise the return type
If the argument is " input " will return the arguments of the operation ottherwise the return type
Array<WashOutParam>, Array<Error>
type
<not_specific>
<not_specific>
type The type of the arguments that need to be returned ("input" or anything else )
type The type of the arguments that need to be returned ( " input " or anything else )
api
None