lib/timber/contexts/organization.rb in timber-1.0.3 vs lib/timber/contexts/organization.rb in timber-1.0.4

- old
+ new

@@ -14,18 +14,16 @@ # # Logging will automatically include this context # logger.info("This is a log message") # end # class Organization < Context + @keyspace = :organization + attr_reader :id, :name def initialize(attributes) @id = attributes[:id] @name = attributes[:name] - end - - def keyspace - :organization end def as_json(_options = {}) {id: id, name: name} end \ No newline at end of file