SHARE
TWEET

Untitled

a guest Dec 24th, 2012 14 Never
  1. Model.api_call params[:field]
  2. @model.api_call params[:field]
  3.        
  4. Model.set_parameters(params)
  5.  
  6. def self.set_parameters(params)
  7.   @@params = params
  8. end
  9.  
  10. # access it in methods with @@params
RAW Paste Data
Top