api-blueprint 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/api-blueprint/model.rb +2 -2
- data/lib/api-blueprint/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a255fc08e8289ee563e41cfb13d67d1a9620118
|
4
|
+
data.tar.gz: c450bb8f21d305dfbb4250239a838dad7204a729
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a6a6351f8f0fcc14f2442aec99fd313fe8823bb973cd1990781a987f8e557040a4270da767f2a163e0a62bc8a5bd67a662b272332924ed949e62a5e829cf6ee
|
7
|
+
data.tar.gz: 85284165794696665cbdefc311925ae954e82fce4de9d776edf3f7b40d7815a75e124f5a2a3d2d9fe2a2933eca120643720cb2bc25ea024d42695e4a523fc9ee
|
data/lib/api-blueprint/model.rb
CHANGED
@@ -43,8 +43,8 @@ module ApiBlueprint
|
|
43
43
|
response_status.present? && (200...299).include?(response_status)
|
44
44
|
end
|
45
45
|
|
46
|
-
def as_json
|
47
|
-
super.except :response_headers, :response_status
|
46
|
+
def as_json(options = nil)
|
47
|
+
super(options).except :response_headers, :response_status
|
48
48
|
end
|
49
49
|
|
50
50
|
end
|