class DJNML::Delete
Attributes
doc_date[R]
product[R]
publisher[R]
reason[R]
seq[R]
Public Class Methods
new(args = {})
click to toggle source
# File lib/djnml/delete.rb, line 5 def initialize(args = {}) @product = args[:product] if args[:product] @doc_date = Time.parse(args[:doc_date]) if args[:doc_date] @seq = args[:seq].to_i if args[:seq] @publisher = args[:publisher] if args[:publisher] @reason = args[:reason] if args[:reason] end