lib/printreleaf/quote.rb in printreleaf-1.3.2 vs lib/printreleaf/quote.rb in printreleaf-1.5.0
- old
+ new
@@ -12,11 +12,11 @@
property :project_id
property :transaction_id
property :created_at, transform_with: Transforms::Date
property :standard_pages, transform_with: Transforms::Integer
property :trees, transform_with: Transforms::Float
- property :msrp_rate, transform_with: Transforms::Float
- property :msrp_price, transform_with: Transforms::Float
+ property :rate, transform_with: Transforms::Float
+ property :price, transform_with: Transforms::Float
property :items
coerce_key :items, Array[QuoteItem]
def account
@account ||= Account.find(account_id)