kamiflex 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kamiflex/core.rb +4 -2
- data/lib/kamiflex/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a54e9e5a93a8b848e690c7786b21554d25cdef6f672285e2a932365d8bb93f7
|
4
|
+
data.tar.gz: 11d6fc2407c6fbde0dbaa14d50ce57da60d1717d11598ed8458356d47da547aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '07456808dc44e31e39e1d60fc8cb9d01915fa865720914ac46d82aceb408142aaf5a1e275f9df3264ad12c7952935ee61b04e4860ddfa0e184a4df4e32e6bcd8'
|
7
|
+
data.tar.gz: f8cdb623cbb272ecdd9e80062f53c5756b647c3eced3a46ea93cf9c8d8c34a54582d81c13fb5daf24dd4ceb01af5bf7f43553f740fc4f84dde66800c1016a812
|
data/lib/kamiflex/core.rb
CHANGED
@@ -44,8 +44,10 @@ module Kamiflex
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def hero(image_url, **params)
|
47
|
-
|
48
|
-
|
47
|
+
@flex_attributes[:hero] = {
|
48
|
+
"type": "image",
|
49
|
+
"url": image_url
|
50
|
+
}.merge(params)
|
49
51
|
end
|
50
52
|
|
51
53
|
def body(**params)
|
data/lib/kamiflex/version.rb
CHANGED