class Spritpreisrechner::Price

Attributes

amount[R]
fuel_type[R]
label[R]

Public Class Methods

new(price) click to toggle source
# File lib/spritpreisrechner/price.rb, line 5
def initialize(price)
  @fuel_type = price[:fuelType]
  @amount = price[:amount]
  @label = price[:label]
end