Class: DataCatalog::About
Class Method Summary collapse
Methods inherited from Base
_first, check_status, cursor, error, filterize, filterize_hash, http_delete, http_get, http_post, http_put, #method_missing, one, query_hash
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class DataCatalog::Base
Class Method Details
.get ⇒ Object
7 8 9 |
# File 'lib/resources/about.rb', line 7 def self.get() one(http_get("/")) end |
.version_at_least?(minimum) ⇒ Boolean
11 12 13 14 15 |
# File 'lib/resources/about.rb', line 11 def self.version_at_least?(minimum) actual = VersionString.new(get.version) floor = VersionString.new(minimum) actual >= floor end |