Sha256: 41245340962181085e5890563942298d8adc0415bb0783135e81cfdc67755012
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
# -*- encoding : utf-8 -*- module OpenPayU module Models class StatusUpdate < Model attr_accessor :customer_id, :customer_email, :order_id, :order_creation_date, :order_status, :custom_status, :reason validates :order_id, :order_creation_date, :order_status, presence: true validates :order_status, inclusion: { in: Order::STATUSES } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openpayu-0.1.2 | lib/openpayu/models/status_update.rb |
openpayu-0.0.2 | lib/openpayu/models/status_update.rb |