class Spritpreisrechner::PaymentArrengement
Attributes
club_card[R]
cooperative[R]
Public Class Methods
new(payment_arrengement)
click to toggle source
# File lib/spritpreisrechner/payment_arrangement.rb, line 5 def initialize(payment_arrengement) @cooperative = payment_arrengement[:cooperative] @club_card = payment_arrengement[:clubCard] end
Public Instance Methods
club_card?()
click to toggle source
# File lib/spritpreisrechner/payment_arrangement.rb, line 14 def club_card? @club_card == true end
cooperative?()
click to toggle source
# File lib/spritpreisrechner/payment_arrangement.rb, line 10 def cooperative? @cooperative == true end