Class: Rdomino::Daterange

Inherits:
Object
  • Object
show all
Includes:
DomObject
Defined in:
lib/rdomino.rb

Instance Method Summary collapse

Methods included from DomObject

#empty?, #method_missing, #obj

Constructor Details

#initialize(sdt, edt) ⇒ Daterange

Returns a new instance of Daterange.



19
20
21
22
23
# File 'lib/rdomino.rb', line 19

def initialize(sdt,edt)
  @obj = Session.session.Createdaterange
  @obj.StartDateTime = sdt.obj
  @obj.EndDateTime = edt.obj
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Rdomino::DomObject