lib/wp/api/resource.rb in wp-api-0.1.2 vs lib/wp/api/resource.rb in wp-api-0.1.3
- old
+ new
@@ -12,9 +12,14 @@
def id
attributes['ID']
end
+ def meta(client = nil)
+ return super unless client
+ client.post_meta(id)
+ end
+
protected
def method_missing(key, new_value = nil)
key = key.to_s
determinant = key[-1]