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