Class: Swagger::Loaders::JSONLoader
- Inherits:
-
Object
- Object
- Swagger::Loaders::JSONLoader
- Defined in:
- lib/swagger/loaders.rb
Class Method Summary collapse
Class Method Details
.load(content) ⇒ Object
24 25 26 |
# File 'lib/swagger/loaders.rb', line 24 def self.load(content) APIDeclaration.build(JSON.parse(content)) end |