lib/centaman/service/add_on.rb in centaman-3.0.0 vs lib/centaman/service/add_on.rb in centaman-3.1.0
- old
+ new
@@ -16,10 +16,10 @@
Centaman::Object::AddOn
end
def self.find(membership_type_id, id)
obj = new(membership_type_id: membership_type_id)
- obj.objects.detect {|obj| obj.id == id }
+ obj.objects.detect { |obj| obj.id == id }
end
def additional_hash_to_serialize_after_response
{ membership_type_id: membership_type_id }
end