create_custom_attributes 0.5.9 → 0.5.10

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
  SHA1:
3
- metadata.gz: a820358271ed8e6c9c787517e22e969422dfe6bb
4
- data.tar.gz: 876c4e91facf48f28b9474a8a2a1ffb060f8323c
3
+ metadata.gz: 691c5ba879dcb4066051194bb006a6371a67df24
4
+ data.tar.gz: 77f730e6f53a0301a6744f46153a9165b86b6757
5
5
  SHA512:
6
- metadata.gz: a18dbfaef9708835773c34108c0520ba2835783d39bf1b4a5a0690e0ce535e1ab34e14df74b2d25c4b0d2727e09fa6489544f33059b5caa9aa59901b323a24e0
7
- data.tar.gz: 560384186418f94dd21c58e10f6e5d42fea928988d42af5b731c22b1149c8222e7f119d1186f25b199b1c911e0ee13a6da60686430ea52535137377f80469b39
6
+ metadata.gz: ef35e765683bac1b1e699209f89db879c542a39197f29eb61dbb9006412e2d393d0ac6cce747bb21d6d99d22122251080aa1d502908db5314bbd7246579d8678
7
+ data.tar.gz: f3abc8b4cf173f1b68072d5c28f5438191174a3cc013da8a2e097a659e94129777e721011c930fc1e50d45082b66fb32215b6312d2d46e15e9496267e50719c2
@@ -33,6 +33,10 @@ module CustomAttributes
33
33
  value.to_s
34
34
  end
35
35
 
36
+ def serializable_hash
37
+ { custom_field_id: self.custom_field_id, value: self.value }.as_json
38
+ end
39
+
36
40
  def value=(v)
37
41
  @value = custom_field.set_custom_field_value(self, v)
38
42
  end
@@ -1,3 +1,3 @@
1
1
  module CustomAttributes
2
- VERSION = '0.5.9'.freeze
2
+ VERSION = '0.5.10'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: create_custom_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Grützmacher