Class: JIRA::FieldValue

Inherits:
Object
  • Object
show all
Defined in:
lib/jiraSOAP/remoteEntities.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id.



282
283
284
# File 'lib/jiraSOAP/remoteEntities.rb', line 282

def id
  @id
end

#valuesObject

Returns the value of attribute values.



282
283
284
# File 'lib/jiraSOAP/remoteEntities.rb', line 282

def values
  @values
end

Class Method Details

.field_value_with_nil_values(id) ⇒ Object



283
284
285
286
287
288
# File 'lib/jiraSOAP/remoteEntities.rb', line 283

def self.field_value_with_nil_values(id)
  fv = FieldValue.new
  fv.id = id
  fv.values = [nil]
  fv
end

Instance Method Details

#soapify_for(message, label = 'fieldValue') ⇒ Object



289
290
291
292
293
294
# File 'lib/jiraSOAP/remoteEntities.rb', line 289

def soapify_for(message, label = 'fieldValue')
  message.add label do |message|
    message.add 'id', @id
    message.add_simple_array 'values', @values
  end
end