lib/atlas_rb/community.rb in atlas_rb-0.0.31 vs lib/atlas_rb/community.rb in atlas_rb-0.0.32

- old
+ new

@@ -7,10 +7,10 @@ def self.find(id) JSON.parse(connection({}).get(ROUTE + id)&.body)["community"] end def self.create(id = nil) - JSON.parse(connection({ parent_id: id }).post(ROUTE)&.body) + JSON.parse(connection({ parent_id: id }).post(ROUTE)&.body)["community"] end def self.destroy(id) connection({}).delete(ROUTE + id) end