Class: PortfolioManager::Xml::CustomFieldList::CustomField

Inherits:
String
  • Object
show all
Defined in:
lib/portfolio_manager/xml.rb

Overview

{}customField

Constant Summary collapse

AttrName =
XSD::QName.new(nil, "name")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*arg) ⇒ CustomField

Returns a new instance of CustomField.



9416
9417
9418
9419
# File 'lib/portfolio_manager/xml.rb', line 9416

def initialize(*arg)
  super(*arg)
  @__xmlattr = {}
end

Instance Attribute Details

#xmlattr_nameSOAP::SOAPString

Returns:

  • (SOAP::SOAPString)


9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
# File 'lib/portfolio_manager/xml.rb', line 9401

class CustomField < ::String
  AttrName = XSD::QName.new(nil, "name")

  def __xmlattr
    @__xmlattr ||= {}
  end

  def xmlattr_name
    __xmlattr[AttrName]
  end

  def xmlattr_name=(value)
    __xmlattr[AttrName] = value
  end

  def initialize(*arg)
    super(*arg)
    @__xmlattr = {}
  end
end

Instance Method Details

#__xmlattrObject



9404
9405
9406
# File 'lib/portfolio_manager/xml.rb', line 9404

def __xmlattr
  @__xmlattr ||= {}
end