Class: AD::RecordFinder
- Inherits:
-
Object
- Object
- AD::RecordFinder
- Defined in:
- lib/ad/record_finder.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
- #find_by_id(query, attributes: []) ⇒ Object
-
#initialize(connection = AD::ConnectionFactory.service_user_connection) ⇒ RecordFinder
constructor
A new instance of RecordFinder.
Constructor Details
#initialize(connection = AD::ConnectionFactory.service_user_connection) ⇒ RecordFinder
Returns a new instance of RecordFinder.
5 6 7 |
# File 'lib/ad/record_finder.rb', line 5 def initialize(connection = AD::ConnectionFactory.service_user_connection) @connection = connection end |
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
9 10 11 |
# File 'lib/ad/record_finder.rb', line 9 def connection @connection end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
9 10 11 |
# File 'lib/ad/record_finder.rb', line 9 def result @result end |