Class: HttpStub::Configurer::Request::Omittable
- Inherits:
-
Object
- Object
- HttpStub::Configurer::Request::Omittable
- Defined in:
- lib/http_stub/configurer/request/omittable.rb
Class Method Summary collapse
Class Method Details
.format(value) ⇒ Object
9 10 11 |
# File 'lib/http_stub/configurer/request/omittable.rb', line 9 def format(value) value.is_a?(Hash) ? format_hash(value) : value end |