Class: Etapper::API::Question

Inherits:
Object
  • Object
show all
Defined in:
lib/etapper/api/service.rb

Overview

etapestryAPI/serviceQuestion

displayText - SOAP::SOAPString
field - Etapper::API::DefinedField
ref - SOAP::SOAPString
required - SOAP::SOAPBoolean

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(displayText = nil, field = nil, ref = nil, required = nil) ⇒ Question

Returns a new instance of Question.



1810
1811
1812
1813
1814
1815
# File 'lib/etapper/api/service.rb', line 1810

def initialize(displayText = nil, field = nil, ref = nil, required = nil)
  @displayText = displayText
  @field = field
  @ref = ref
  @required = required
end

Instance Attribute Details

#displayTextObject

Returns the value of attribute displayText.



1805
1806
1807
# File 'lib/etapper/api/service.rb', line 1805

def displayText
  @displayText
end

#fieldObject

Returns the value of attribute field.



1806
1807
1808
# File 'lib/etapper/api/service.rb', line 1806

def field
  @field
end

#refObject

Returns the value of attribute ref.



1807
1808
1809
# File 'lib/etapper/api/service.rb', line 1807

def ref
  @ref
end

#requiredObject

Returns the value of attribute required.



1808
1809
1810
# File 'lib/etapper/api/service.rb', line 1808

def required
  @required
end