rubix 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rubix/models/model.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/lib/rubix/models/model.rb
CHANGED
@@ -75,7 +75,7 @@ module Rubix
|
|
75
75
|
response = create_request
|
76
76
|
if response.has_data?
|
77
77
|
@id = response.result[self.class.id_field + 's'].first.to_i
|
78
|
-
info("Created")
|
78
|
+
info("Created #{resource_name}")
|
79
79
|
else
|
80
80
|
error("Error creating #{resource_name}: #{response.error_message}")
|
81
81
|
return false
|
@@ -88,7 +88,7 @@ module Rubix
|
|
88
88
|
return false unless before_update
|
89
89
|
response = update_request
|
90
90
|
if response.has_data?
|
91
|
-
info("Updated")
|
91
|
+
info("Updated #{resource_name}")
|
92
92
|
else
|
93
93
|
error("Error updating #{resource_name}: #{response.error_message}")
|
94
94
|
return false
|
metadata
CHANGED