Module: VNetAPIClient::ResponseFormats
- Defined in:
- lib/vnet_api_client/response_format.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.[](format) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/vnet_api_client/response_format.rb', line 6 def self.[](format) case format when :json Json.new else raise "Unknown response format: #{format}" end end |