Module: ShopifyUnlimited::ThrottledConnection
- Included in:
- ActiveResource::Connection
- Defined in:
- lib/shopify_unlimited/active_resource/connection_extensions.rb
Instance Method Summary collapse
Instance Method Details
#throttle ⇒ Object
3 4 5 |
# File 'lib/shopify_unlimited/active_resource/connection_extensions.rb', line 3 def throttle @throttle ||= ShopifyUnlimited::Throttle.new end |
#with_auth ⇒ Object
6 7 8 9 10 |
# File 'lib/shopify_unlimited/active_resource/connection_extensions.rb', line 6 def with_auth throttle.run do super end end |