lib/resources/client.rb in sk-api-1.0.3 vs lib/resources/client.rb in sk-api-1.0.4
- old
+ new
@@ -4,16 +4,9 @@
def save
save_with_validation
end
- # not realy stable yet
- def validate_schema
- json = self.to_json
- obj = Rufus::Json.decode(json)
- JSON::Schema.validate(obj, SKApi::Resources::Client.schema)
- end
-
def self.schema
{ "type" => "object",
"properties" => SKApi::Resources::Client.schema_props}
end
\ No newline at end of file