lib/ncmb/acl.rb in ncmb-ruby-client-0.1.6 vs lib/ncmb/acl.rb in ncmb-ruby-client-0.1.7

- old
+ new

@@ -23,9 +23,13 @@ params[key.to_sym][name] = true if value[name] end end params.to_json end + + def fields + @fields + end def public(read_or_write, bol = true) @fields['*'.to_sym][read_or_write.to_sym] = bol end