Sha256: 1f41a7a4b31d6c795802c33422ccc05fe31613979456ffcaab4ae2b0b87ddef3

Contents?: true

Size: 428 Bytes

Versions: 21

Compression:

Stored size: 428 Bytes

Contents

class Spree::Alert < ActiveResource::Base
  self.site = "http://alerts.spreecommerce.com/"
  self.format = :json

  def self.current(host)
    find(:all, :params => { :version => Spree.version,
                            :name => Spree::Config[:site_name],
                            :host => host,
                            :rails_env => Rails.env,
                            :rails_version => Rails.version })
  end
end

Version data entries

21 entries across 21 versions & 6 rubygems

Version Path
spree_core-0.70.7 app/models/spree/alert.rb
spree_core-0.70.6 app/models/spree/alert.rb
apispree_core-0.0.0 app/models/spree/alert.rb
My-Commerce_core-1.1.0 app/models/spree/alert.rb
My-Commerce_core-1.0.0 app/models/spree/alert.rb
MyCommerceapi-1.0.0 core/app/models/spree/alert.rb
MyCommerce-0.0.3 core/app/models/spree/alert.rb
rfcommerce_core-0.0.3 app/models/spree/alert.rb
spree_core-0.60.6 app/models/spree/alert.rb
spree_core-0.70.5 app/models/spree/alert.rb
spree_core-0.70.4 app/models/spree/alert.rb
spree_core-0.60.5 app/models/spree/alert.rb
spree_core-0.70.3 app/models/spree/alert.rb
spree_core-0.70.2 app/models/spree/alert.rb
spree_core-0.30.2 app/models/spree/alert.rb
spree_core-0.40.4 app/models/spree/alert.rb
spree_core-0.50.4 app/models/spree/alert.rb
spree_core-0.60.4 app/models/spree/alert.rb
spree_core-0.50.3 app/models/spree/alert.rb
spree_core-0.60.3 app/models/spree/alert.rb