lib/torasup/operator.rb in torasup-0.0.4 vs lib/torasup/operator.rb in torasup-0.0.5
- old
+ new
@@ -20,9 +20,13 @@
def self.registered_prefixes
Torasup.registered_prefixes
end
+ def self.registered
+ Torasup.registered_operators
+ end
+
def self.all
operators = {}
Torasup.prefixes.each do |prefix, metadata|
prefix_country_id = metadata["country_id"]
country_operators = operators[prefix_country_id] ||= {}