class Quickeebooks::Shared::Service::Sort
Attributes
field[RW]
how[RW]
Public Class Methods
new(field, how)
click to toggle source
# File lib/quickeebooks/shared/service/sort.rb, line 7 def initialize(field, how) @field = field @how = how end
Public Instance Methods
to_s()
click to toggle source
# File lib/quickeebooks/shared/service/sort.rb, line 12 def to_s "#{field} #{how}" end
to_xml()
click to toggle source
# File lib/quickeebooks/shared/service/sort.rb, line 16 def to_xml "<SortByColumn sortOrder=\"#{how}\">#{field}</SortByColumn>" end