Module: NCore::Find
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/ncore/methods/find.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#reload(find_params = {}) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/ncore/methods/find.rb', line 19 def reload(find_params={}) return if id.blank? params = parse_request_params(find_params).reverse_merge credentials: api_creds parsed, @api_creds = request(:get, resource_path, params) @attribs = {}.with_indifferent_access load(parsed) end |