lib/fastly.rb in fastly-3.0.1 vs lib/fastly.rb in fastly-3.0.2
- old
+ new
@@ -150,10 +150,37 @@
# Fetches the list of codes for regions that are covered by the Fastly CDN service.
def regions
client.get_stats('/stats/regions')
end
- [ACL, ACLEntry, User, Customer, Backend, CacheSetting, Condition, Dictionary, DictionaryItem, Director, Domain, Header, Healthcheck, Gzip, Match, PapertrailLogging, RequestSetting, ResponseObject, Service, Snippet, S3Logging, Syslog, Token, VCL, Version].each do |klass|
+ [
+ ACL,
+ ACLEntry,
+ Backend,
+ CacheSetting,
+ Condition,
+ Customer,
+ Dictionary,
+ DictionaryItem,
+ Director,
+ Domain,
+ Gzip,
+ Header,
+ Healthcheck,
+ Match,
+ PapertrailLogging,
+ RequestSetting,
+ ResponseObject,
+ S3Logging,
+ Service,
+ Snippet,
+ SumologicLogging,
+ Syslog,
+ Token,
+ User,
+ VCL,
+ Version,
+ ].each do |klass|
type = Util.class_to_path(klass)
if klass.respond_to?(:pluralize)
plural = klass.pluralize
else