lib/siteleaf/meta.rb in siteleaf-0.8.1 vs lib/siteleaf/meta.rb in siteleaf-0.8.3
- old
+ new
@@ -1,9 +1,9 @@
module Siteleaf
class Meta < Entity
- attr_accessor :id, :key, :value, :page_id, :post_id
- protected :id=
+ attr_accessor :key, :value, :page_id, :post_id
+ attr_reader :id
def create_endpoint
if self.page_id
"pages/#{self.page_id}/meta"
elsif self.post_id
\ No newline at end of file