lib/shelly/cloudfile.rb in shelly-0.0.28 vs lib/shelly/cloudfile.rb in shelly-0.0.29
- old
+ new
@@ -34,25 +34,7 @@
def yaml(hash)
string = hash.deep_stringify_keys.to_yaml
# FIXME: check if it possible to remove sub("---", "") by passing options to_yaml
string.sub("---","").split("\n").map(&:rstrip).join("\n").strip
end
-
- def fetch_users
- response = shelly.apps_users(clouds)
- response.inject({}) do |result, app|
- result[app['code_name']] = app['users'].map do |user|
- user['email']
- end
- result
- end
- end
-
- def fetch_ips
- response = shelly.apps_ips(clouds)
- response.each do |result|
- result
- end
- end
end
end
-