-
Notifications
You must be signed in to change notification settings - Fork 241
soap action definition spec
dacresni edited this page Dec 18, 2012
·
2 revisions
# Parses a +definition+. The format of the definition is best described
# by the following BNF-like grammar.
#
# simple_type := :string | :integer | :double | :boolean
# nested_type := type_hash | simple_type | WashOut::Param instance
# type_hash := { :parameter_name => nested_type, ... }
# definition := [ WashOut::Param, ... ] |
# type_hash |
# simple_type
#
# If a simple type is passed as the +definition+, a single Param is returned
# with the +name+ set to "value".
# If a WashOut::Param instance is passed as a +nested_type+, the corresponding
# +:parameter_name+ is ignored.
#
For more examples look at wash_out/spec/lib/wash_out_spec.rb