class NetSuite::Records::CustomField

Attributes

internal_id[R]
script_id[R]
type[RW]

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/netsuite/records/custom_field.rb, line 10
def initialize(attributes = {})
  @script_id   = attributes.delete(:script_id) || attributes.delete(:@script_id)
  @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id)
  @type        = attributes.delete(:type) || attributes.delete(:"@xsi:type")
  self.attributes = attributes
end

Public Instance Methods

value() click to toggle source
# File lib/netsuite/records/custom_field.rb, line 17
def value
  attributes[:value]
end