ish_models 0.0.33.225 → 0.0.33.227

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dcf6779d3d2bafd20719969eb3a2c13681784ce9a6486e444fd8407299b68b10
4
- data.tar.gz: 5a0de640fd761b5af8709aae17be40572284c3462fb214849b26dfb440595d7e
3
+ metadata.gz: d7b14f0b96452f68ed6ab5862cc62252d77bbb59d2609a416d74e8e4da8bc503
4
+ data.tar.gz: b4b5e486087969d999f015a0df69fac64a253a66608525951e533b92449a59c9
5
5
  SHA512:
6
- metadata.gz: bb445008b52c1d966e8b190241ff6621e3799d0a242221c0b618d1cbd24a75a6f8ddfac7f3f3f39e0815b0dbc849c02d8f107bb16ce915786afd18f3adbaa129
7
- data.tar.gz: a6d9882e974666522ec2358b443f0c4deac2fda3b20ac0a8b68f9adabf606fcc02264b5876003f803129a69a609c1cd758d644dfb83e2050eca6f959a8d13014
6
+ metadata.gz: 916c01143a3b402f5e21ddd4c90b70027e4a427e9ed6870cc1049b706b91b18a2ea482135c1730ec4b09d2813f7a7a90d2f6580931648ef86d005750c918644f
7
+ data.tar.gz: 4d3c8b684f3a9c21365477668019a9c7f1f48e929a340aea99c408fd7d8fa043ffe7a047a7c467eda575e9d884eb1800bfea08ab503e0dd7a97305251b6b32c0
@@ -47,5 +47,10 @@ class ::Ish::EmailTemplate
47
47
  has_many :email_actions, class_name: '::Office::EmailAction'
48
48
  has_many :email_contexts, class_name: '::Ish::EmailContext'
49
49
 
50
+ SLUG_BLANK = 'blank'
51
+ def self.blank_template
52
+ out = Tmpl.find_or_create_by({ slug: SLUG_BLANK })
53
+ end
54
+
50
55
  end
51
56
  ::Tmpl = ::Ish::EmailTemplate
data/lib/ish_models.rb CHANGED
@@ -8,9 +8,6 @@ require 'kaminari/mongoid'
8
8
 
9
9
  class Gameui; end
10
10
 
11
- class Iro; end
12
- class Iro::OptionPriceItem; end
13
-
14
11
  module Ish; end
15
12
  class Ish::InputError < RuntimeError; end
16
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.225
4
+ version: 0.0.33.227
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox