class Cb::Criteria::User::Delete
Attributes
external_id[RW]
password[RW]
test[RW]
Public Class Methods
new(args = {})
click to toggle source
# File lib/cb/criteria/user/delete.rb, line 19 def initialize(args = {}) @external_id = args[:external_id] || '' @password = args[:password] || '' @test = args[:test] || 'false' end
Public Instance Methods
to_xml()
click to toggle source
# File lib/cb/criteria/user/delete.rb, line 25 def to_xml Nokogiri::XML::Builder.new do |xml| xml.Request do xml.DeveloperKey Cb.configuration.dev_key xml.Password password xml.ExternalID external_id xml.Test test # ruby has a builtin called test, confusion occurs :( end end.to_xml end