Class: Blackbaud::Session

Inherits:
BlackbaudObject show all
Defined in:
lib/blackbaud-client/api/session.rb

Instance Attribute Summary collapse

Attributes inherited from BlackbaudObject

#client

Instance Method Summary collapse

Methods inherited from BlackbaudObject

#format_date, #to_hash, #to_json

Constructor Details

#initialize(options) ⇒ Session

Returns a new instance of Session.



6
7
8
9
10
# File 'lib/blackbaud-client/api/session.rb', line 6

def initialize(options)
  options.fetch(:values)["terms"].map! {|t| Blackbaud::Term.new({values: t})} if options.fetch(:values)["terms"]
  options.fetch(:values)["marking_columns"].map! {|t| Blackbaud::MarkingColumn.new({values: t})} if options.fetch(:values)["marking_columns"]
  super
end

Instance Attribute Details

#beginning_track_dateObject

Returns the value of attribute beginning_track_date.



3
4
5
# File 'lib/blackbaud-client/api/session.rb', line 3

def beginning_track_date
  @beginning_track_date
end

#ea7_session_idObject

Returns the value of attribute ea7_session_id.



3
4
5
# File 'lib/blackbaud-client/api/session.rb', line 3

def ea7_session_id
  @ea7_session_id
end

Returns the value of attribute links.



3
4
5
# File 'lib/blackbaud-client/api/session.rb', line 3

def links
  @links
end

#marking_columnsObject

Returns the value of attribute marking_columns.



3
4
5
# File 'lib/blackbaud-client/api/session.rb', line 3

def marking_columns
  @marking_columns
end

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/blackbaud-client/api/session.rb', line 3

def message
  @message
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/blackbaud-client/api/session.rb', line 3

def name
  @name
end

#termsObject

Returns the value of attribute terms.



3
4
5
# File 'lib/blackbaud-client/api/session.rb', line 3

def terms
  @terms
end

#track_schedule_changesObject

Returns the value of attribute track_schedule_changes.



3
4
5
# File 'lib/blackbaud-client/api/session.rb', line 3

def track_schedule_changes
  @track_schedule_changes
end