Class: Campaigning::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/campaigning/soap/generated/default.rb

Overview

/Result

code - SOAP::SOAPInt
message - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, message = nil) ⇒ Result

Returns a new instance of Result.



13
14
15
16
# File 'lib/campaigning/soap/generated/default.rb', line 13

def initialize(code = nil, message = nil)
  @code = code
  @message = message
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



10
11
12
# File 'lib/campaigning/soap/generated/default.rb', line 10

def code
  @code
end

#messageObject

Returns the value of attribute message.



11
12
13
# File 'lib/campaigning/soap/generated/default.rb', line 11

def message
  @message
end