Method: APISpec::Message#example
- Defined in:
- lib/apispec/message.rb
#example(format, value) ⇒ Object
32 33 34 |
# File 'lib/apispec/message.rb', line 32 def example(format, value) @example = APISpec::Example.new(format, value) end |