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

- old
+ new

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