Class: GhDraftIssueConverter::FieldValue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field_value_id, field_value_name, field_value_option_id, field_id, field_name) ⇒ FieldValue

Returns a new instance of FieldValue.



42
43
44
45
46
47
48
# File 'lib/gh_draft_issues_converter/gh_draft_issues_converter.rb', line 42

def initialize(field_value_id, field_value_name, field_value_option_id, field_id, field_name)
  @field_value_id = field_value_id
  @field_value_name = field_value_name
  @field_value_option_id = field_value_option_id
  @field_id = field_id
  @field_name = field_name
end

Instance Attribute Details

#field_idObject (readonly)

Returns the value of attribute field_id.



36
37
38
# File 'lib/gh_draft_issues_converter/gh_draft_issues_converter.rb', line 36

def field_id
  @field_id
end

#field_nameObject (readonly)

Returns the value of attribute field_name.



36
37
38
# File 'lib/gh_draft_issues_converter/gh_draft_issues_converter.rb', line 36

def field_name
  @field_name
end

#field_value_idObject (readonly)

Returns the value of attribute field_value_id.



36
37
38
# File 'lib/gh_draft_issues_converter/gh_draft_issues_converter.rb', line 36

def field_value_id
  @field_value_id
end

#field_value_nameObject (readonly)

Returns the value of attribute field_value_name.



36
37
38
# File 'lib/gh_draft_issues_converter/gh_draft_issues_converter.rb', line 36

def field_value_name
  @field_value_name
end

#field_value_option_idObject (readonly)

Returns the value of attribute field_value_option_id.



36
37
38
# File 'lib/gh_draft_issues_converter/gh_draft_issues_converter.rb', line 36

def field_value_option_id
  @field_value_option_id
end