class Square::Connect::Discount

Attributes

applied_money[RW]
name[RW]

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/square/connect/discount.rb, line 6
def initialize(attributes = {})
  raise
  self.name = attributes[:name]
  self.applied_money = if attributes[:applied_money]
    Money.new attributes[:applied_money]
  end
end