Module: AsyncDataFetch::ActsAsAsync::ClassMethods
- Defined in:
- lib/async_data_fetch/acts_as_async.rb
Instance Attribute Summary collapse
-
#async_data_fetch_available_methods ⇒ Object
Returns the value of attribute async_data_fetch_available_methods.
Instance Method Summary collapse
Instance Attribute Details
#async_data_fetch_available_methods ⇒ Object
Returns the value of attribute async_data_fetch_available_methods.
10 11 12 |
# File 'lib/async_data_fetch/acts_as_async.rb', line 10 def async_data_fetch_available_methods @async_data_fetch_available_methods end |
Instance Method Details
#acts_as_async(*queries) ⇒ Object
12 13 14 15 |
# File 'lib/async_data_fetch/acts_as_async.rb', line 12 def acts_as_async(*queries) cattr_accessor :async_data_fetch_available_methods self.async_data_fetch_available_methods = queries.map(&:to_s) end |