lib/calamum/doc_parser.rb in calamum-1.2.0 vs lib/calamum/doc_parser.rb in calamum-1.2.1
- old
+ new
@@ -16,11 +16,19 @@
def get_version
@definition['version']
end
+ def get_authentication
+ @definition['authentication']
+ end
+
def get_description
@definition['description']
+ end
+
+ def get_errors
+ @definition['errors']
end
def get_resources
resources = @definition['resources'].kind_of?(String) ? get_seperate_resources : @definition['resources']
Calamum::Config[:sort]? resources.sort : resources