lib/billogram/resources/item.rb in billogram-0.6.5 vs lib/billogram/resources/item.rb in billogram-0.6.6

- old
+ new

@@ -1,12 +1,14 @@ +# frozen_string_literal: true + module Billogram class Item < Resource include Endpoint attr_accessor :item_no, :title, :description, :price, :vat, :unit, - :created_at, :updated_at, :count, :discount + :created_at, :updated_at, :count, :discount - alias_method :id, :item_no + alias id item_no relation :bookkeeping, :one relation :regional_sweden, :one def delete