Sha256: fb2e1f74c03bf953bac344e410e4b4b9c5f1435fb3b7bf00f427afce40df6992
Contents?: true
Size: 375 Bytes
Versions: 36
Compression:
Stored size: 375 Bytes
Contents
require 'httparty' module Spree class Alert def self.current(host) params = { version: Spree.version, name: Spree::Store.current.name, host: host, rails_env: Rails.env, rails_version: Rails.version } HTTParty.get('http://alerts.spreecommerce.com/alerts.json', query: params).parsed_response end end end
Version data entries
36 entries across 36 versions & 1 rubygems