Class: PortfolioManager::Xml::TimeframeType::TwoPeriods

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

Overview

inner class for member: twoPeriods {}twoPeriods

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil) ⇒ TwoPeriods

Returns a new instance of TwoPeriods.



7947
7948
7949
7950
# File 'lib/portfolio_manager/xml.rb', line 7947

def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
  @periodEndingDateOne = periodEndingDateOne
  @periodEndingDateTwo = periodEndingDateTwo
end

Instance Attribute Details

#periodEndingDateOnePortfolioManager::Xml::Ped



7943
7944
7945
7946
7947
7948
7949
7950
7951
# File 'lib/portfolio_manager/xml.rb', line 7943

class TwoPeriods
  attr_accessor :periodEndingDateOne
  attr_accessor :periodEndingDateTwo

  def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
    @periodEndingDateOne = periodEndingDateOne
    @periodEndingDateTwo = periodEndingDateTwo
  end
end

#periodEndingDateTwoPortfolioManager::Xml::Ped



7943
7944
7945
7946
7947
7948
7949
7950
7951
# File 'lib/portfolio_manager/xml.rb', line 7943

class TwoPeriods
  attr_accessor :periodEndingDateOne
  attr_accessor :periodEndingDateTwo

  def initialize(periodEndingDateOne = nil, periodEndingDateTwo = nil)
    @periodEndingDateOne = periodEndingDateOne
    @periodEndingDateTwo = periodEndingDateTwo
  end
end