Class: Jirarest2Field::UserField
- Defined in:
- lib/jirarest2/field.rb
Overview
Unfortunately Users and Groups don’t give us any clue as to how to set their “key” element. Therefore this own class
Instance Attribute Summary
Attributes inherited from HashField
Attributes inherited from Field
#allowed_values, #id, #name, #raw_value, #readonly, #required
Instance Method Summary collapse
-
#initialize(id, name, args) ⇒ UserField
constructor
A new instance of UserField.
Methods inherited from HashField
#parse_value, #to_j, #to_j_inner
Methods inherited from Field
#createmeta, #parse_value, #to_j, #value, #value=, #value_allowed?
Constructor Details
#initialize(id, name, args) ⇒ UserField
Returns a new instance of UserField.
587 588 589 590 |
# File 'lib/jirarest2/field.rb', line 587 def initialize(id,name,args) @key = "name" super end |