lib/ocar/status.rb in ocar-0.1.0 vs lib/ocar/status.rb in ocar-0.2.0

- old
+ new

@@ -2,10 +2,9 @@ class Status attr_reader :number, :owner, :description, :date, :location, :type def initialize(json) - puts json['data'] @number = json['data'][0]['numeroPieza'].to_s @owner = json['data'][0]['titular'] @description = json['data'][0]['descripcion'] @date = json['data'][0]['fecha'] @location = json['data'][0]['sucursal']