Module: UserEngage::Operation::Find
Instance Method Summary collapse
Instance Method Details
#find(params = {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/user_engage/operation/find.rb', line 8 def find(params = {}) check_for_unsupported_params!(params) attributes = get_resource(params) new(attributes) end |
#find_by_id(id) ⇒ Object
14 15 16 17 |
# File 'lib/user_engage/operation/find.rb', line 14 def find_by_id(id) attributes = get_resource_by_id(id) new(attributes) end |