Module: ActiveRemote::Search
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
- 
  
    
      #reload  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Reload this record from the remote service. 
Instance Method Details
#reload ⇒ Object
Reload this record from the remote service.
| 118 119 120 121 122 | # File 'lib/active_remote/search.rb', line 118 def reload fresh_object = self.class.find(scope_key_hash) @attributes = fresh_object.instance_variable_get("@attributes") self end |