Class: Blackbaud::Relation
- Inherits:
-
BlackbaudObject
- Object
- BlackbaudObject
- Blackbaud::Relation
- Defined in:
- lib/blackbaud-client/api/relation.rb
Instance Attribute Summary collapse
-
#allow_netclassroom_view ⇒ Object
Returns the value of attribute allow_netclassroom_view.
-
#can_view_report_cards ⇒ Object
Returns the value of attribute can_view_report_cards.
-
#emergency_contact ⇒ Object
Returns the value of attribute emergency_contact.
-
#lives_with ⇒ Object
Returns the value of attribute lives_with.
-
#person ⇒ Object
Returns the value of attribute person.
-
#reciprocal_code_id ⇒ Object
Returns the value of attribute reciprocal_code_id.
-
#reciprocal_code_value ⇒ Object
Returns the value of attribute reciprocal_code_value.
-
#relationship_code_id ⇒ Object
Returns the value of attribute relationship_code_id.
-
#relationship_code_value ⇒ Object
Returns the value of attribute relationship_code_value.
Attributes inherited from BlackbaudObject
Instance Method Summary collapse
-
#initialize(options) ⇒ Relation
constructor
A new instance of Relation.
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() .fetch(:values)["person"] = Blackbaud::Person.new(values: .fetch(:values)["person"]) if .fetch(:values)["person"] super end |
Instance Attribute Details
#allow_netclassroom_view ⇒ Object
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_cards ⇒ Object
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_contact ⇒ Object
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_with ⇒ Object
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 |
#person ⇒ Object
Returns the value of attribute person.
3 4 5 |
# File 'lib/blackbaud-client/api/relation.rb', line 3 def person @person end |
#reciprocal_code_id ⇒ Object
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_value ⇒ Object
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_id ⇒ Object
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_value ⇒ Object
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 |