lib/rooftop/post.rb in rooftop-0.0.5 vs lib/rooftop/post.rb in rooftop-0.0.6

- old
+ new

@@ -6,9 +6,10 @@ base.extend ClassMethods end module ClassMethods def post_type=(type) + Rooftop.configuration.post_type_mapping.merge!(type => self) self.api_endpoint = type.pluralize end end end end \ No newline at end of file