lib/providers/hpcloud/hpcloud.rb in lorj-1.0.3 vs lib/providers/hpcloud/hpcloud.rb in lorj-1.0.4

- old
+ new

@@ -59,10 +59,10 @@ # If we need to add another mapping, add # query_mapping :id => :MyID # If the query is not push through and Hash object, the Provider # will needs to create his own mapping function. define_obj :network - query_mapping :external, :router_external + def_attr_mapping :external, :router_external define_obj :rule obj_needs :data, :dir, :mapping => :direction attr_value_mapping :IN, 'ingress' attr_value_mapping :OUT, 'egress'