class DynamicsCRM::XML::FetchExpression
Public Class Methods
new(fetch_xml)
click to toggle source
# File lib/dynamics_crm/xml/fetch_expression.rb, line 5 def initialize(fetch_xml) @fetch = fetch_xml end
Public Instance Methods
to_hash()
click to toggle source
# File lib/dynamics_crm/xml/fetch_expression.rb, line 20 def to_hash {:fetch_xml => @fetch} end
to_xml(options={})
click to toggle source
Using Entity
vs entity causes the error: Value cannot be null. <Order> can be repeated multiple times orderType: 0 (Ascending) or 1 (Descending)
# File lib/dynamics_crm/xml/fetch_expression.rb, line 12 def to_xml(options={}) %Q{ <a:Query> #{CGI.escapeHTML(@fetch)} </a:Query> } end