Class: Blackbaud::Relation

Inherits:
BlackbaudObject show all
Defined in:
lib/blackbaud-client/api/relation.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) ⇒ Relation

Returns a new instance of Relation.



5
6
7
8
# File 'lib/blackbaud-client/api/relation.rb', line 5

def initialize(options)
  options.fetch(:values)["person"] = Blackbaud::Person.new(values: options.fetch(:values)["person"]) if options.fetch(:values)["person"]
  super
end

Instance Attribute Details

#allow_netclassroom_viewObject

Returns the value of attribute allow_netclassroom_view.



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

def allow_netclassroom_view
  @allow_netclassroom_view
end

#can_view_report_cardsObject

Returns the value of attribute can_view_report_cards.



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

def can_view_report_cards
  @can_view_report_cards
end

#emergency_contactObject

Returns the value of attribute emergency_contact.



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

def emergency_contact
  @emergency_contact
end

#lives_withObject

Returns the value of attribute lives_with.



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

def lives_with
  @lives_with
end

#personObject

Returns the value of attribute person.



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

def person
  @person
end

#reciprocal_code_idObject

Returns the value of attribute reciprocal_code_id.



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

def reciprocal_code_id
  @reciprocal_code_id
end

#reciprocal_code_valueObject

Returns the value of attribute reciprocal_code_value.



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

def reciprocal_code_value
  @reciprocal_code_value
end

#relationship_code_idObject

Returns the value of attribute relationship_code_id.



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

def relationship_code_id
  @relationship_code_id
end

#relationship_code_valueObject

Returns the value of attribute relationship_code_value.



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

def relationship_code_value
  @relationship_code_value
end