Class: Reve::Classes::UpcomingCalendarEvents

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

Overview

upcoming calendar events

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(elem) ⇒ UpcomingCalendarEvents

:nodoc:



1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
# File 'lib/reve/classes.rb', line 1562

def initialize(elem) #:nodoc:
  @id = elem['eventID'].to_i
  @owner_ID = elem['ownerID'].to_i
  @owner_Name = elem['ownerName']
  @event_Date = elem['eventDate'].to_time
  @event_Title = elem['eventTitle']
  @duration = elem['duration'].to_i
  @importance = elem['importance']
  @response = elem['response']
  @event_Text = elem['eventText']
  @owner_Type_ID = elem['ownerTypeID'].to_i
end

Instance Attribute Details

#durationObject (readonly)

Returns the value of attribute duration.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def duration
  @duration
end

#event_DateObject (readonly)

Returns the value of attribute event_Date.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def event_Date
  @event_Date
end

#event_TextObject (readonly)

Returns the value of attribute event_Text.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def event_Text
  @event_Text
end

#event_TitleObject (readonly)

Returns the value of attribute event_Title.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def event_Title
  @event_Title
end

#idObject (readonly)

Returns the value of attribute id.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def id
  @id
end

#importanceObject (readonly)

Returns the value of attribute importance.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def importance
  @importance
end

#nameObject (readonly)

Returns the value of attribute name.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def name
  @name
end

#owner_IDObject (readonly)

Returns the value of attribute owner_ID.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def owner_ID
  @owner_ID
end

#owner_NameObject (readonly)

Returns the value of attribute owner_Name.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def owner_Name
  @owner_Name
end

#owner_Type_IDObject (readonly)

Returns the value of attribute owner_Type_ID.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def owner_Type_ID
  @owner_Type_ID
end

#responseObject (readonly)

Returns the value of attribute response.



1561
1562
1563
# File 'lib/reve/classes.rb', line 1561

def response
  @response
end